Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007427/0.007427, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 187.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.83 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2835, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01789/0.3015, allocations: 14.79 MB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3165, allocations: 10.36 MB / 1.232 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.3179, allocations: 59.62 kB / 1.232 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.3224, allocations: 1.687 MB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.3276, allocations: 1.811 MB / 1.235 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3299, allocations: 0.7551 MB / 1.236 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004019/0.3339, allocations: 2.746 MB / 1.239 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.336, allocations: 1.427 MB / 1.24 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3383, allocations: 1.523 MB / 1.242 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.3403, allocations: 1.16 MB / 1.243 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004899/0.3408, allocations: 163.9 kB / 1.243 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.3425, allocations: 0.7838 MB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008094/0.3434, allocations: 0.6115 MB / 1.244 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3449, allocations: 0.9522 MB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.3488, allocations: 2.753 MB / 1.248 GB, free: 428 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3488, allocations: 3.938 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3488, allocations: 4 kB / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.434e-05/0.3489, allocations: 0 / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.5421/0.891, allocations: 2.167 MB / 1.25 GB, free: 39.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8911, allocations: 12.16 kB / 1.25 GB, free: 39.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.8913, allocations: 196.4 kB / 1.25 GB, free: 39.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.9028, allocations: 2.105 MB / 1.252 GB, free: 38.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.9057, allocations: 1.303 MB / 1.254 GB, free: 38.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.9058, allocations: 90.28 kB / 1.254 GB, free: 38.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.906, allocations: 118.5 kB / 1.254 GB, free: 38.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.9115, allocations: 2.669 MB / 1.256 GB, free: 38.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.9116, allocations: 11.66 kB / 1.256 GB, free: 38.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.9117, allocations: 56.73 kB / 1.256 GB, free: 38.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006341/0.9124, allocations: 196.5 kB / 1.257 GB, free: 38.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007641/0.92, allocations: 2.787 MB / 1.259 GB, free: 37.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.9349, allocations: 10.46 MB / 1.27 GB, free: 32.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/0.9426, allocations: 2.338 MB / 1.272 GB, free: 32.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00319/0.9458, allocations: 1.282 MB / 1.273 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.9459, allocations: 8.5 kB / 1.273 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.9459, allocations: 42.44 kB / 1.273 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.775e-06/0.9459, allocations: 1.188 kB / 1.273 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06135/1.007, allocations: 16.51 MB / 1.289 GB, free: 28.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.007, allocations: 68.84 kB / 1.289 GB, free: 28.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.009, allocations: 1.175 MB / 1.29 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/1.009, allocations: 55.33 kB / 1.29 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/1.01, allocations: 0.7444 MB / 1.291 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/1.01, allocations: 0.5105 MB / 1.292 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/1.011, allocations: 287.6 kB / 1.292 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/1.011, allocations: 305.8 kB / 1.292 GB, free: 26.63 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/1.014, allocations: 1.52 MB / 1.294 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.018, allocations: 1.772 MB / 1.295 GB, free: 25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006822/1.024, allocations: 3.37 MB / 1.299 GB, free: 23.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.024, allocations: 6.234 kB / 1.299 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01262/1.037, allocations: 5.271 MB / 1.304 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.037, allocations: 7.125 kB / 1.304 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.037, allocations: 8.125 kB / 1.304 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006435/1.044, allocations: 1.884 MB / 1.306 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/1.045, allocations: 413.5 kB / 1.306 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/1.07, allocations: 24.14 MB / 1.33 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/1.073, allocations: 308.3 kB / 1.33 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/1.073, allocations: 65.34 kB / 1.33 GB, free: 15.69 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001257/1.075, allocations: 463.7 kB / 1.331 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005995/1.075, allocations: 176.7 kB / 1.331 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.089, allocations: 5.326 MB / 1.336 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.089, allocations: 17.78 kB / 1.336 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/1.09, allocations: 19.75 kB / 1.336 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.09, allocations: 11.81 kB / 1.336 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.107, allocations: 7.417 MB / 1.343 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.107, allocations: 4 kB / 1.343 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.109, allocations: 351.4 kB / 1.344 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/1.115, allocations: 1.714 MB / 1.345 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.115, allocations: 43.97 kB / 1.345 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/1.142, allocations: 23.29 MB / 1.368 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.142, allocations: 4 kB / 1.368 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.155, allocations: 4.887 MB / 1.373 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.156, allocations: 498.8 kB / 1.373 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/1.157, allocations: 31.94 kB / 1.373 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.159, allocations: 323.5 kB / 1.374 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005386/1.16, allocations: 141 kB / 1.374 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.16, allocations: 51.97 kB / 1.374 GB, free: 5.371 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001216/1.161, allocations: 0.7938 MB / 1.375 GB, free: 4.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.161, allocations: 0 / 1.375 GB, free: 4.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002474/1.164, allocations: 0.664 MB / 1.375 GB, free: 3.914 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01263/1.176, allocations: 5.474 MB / 1.381 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.188, allocations: 5.152 MB / 1.386 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.188, allocations: 0 / 1.386 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007011/1.195, allocations: 3.355 MB / 1.389 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.198, allocations: 0.5562 MB / 1.389 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0464/1.244, allocations: 21.86 MB / 1.411 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.246, allocations: 1.564 MB / 1.412 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00138/1.247, allocations: 386.2 kB / 1.413 GB, free: 12.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/1.248, allocations: 0.6593 MB / 1.413 GB, free: 12.16 MB / 1.092 GB Notification: Performance of SimCode: time 9.51e-07/1.248, allocations: 0 / 1.413 GB, free: 12.16 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/1.355, allocations: 60.03 MB / 1.472 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/20.74, allocations: 4 kB / 1.472 GB, free: 0.8203 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches