Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001485/0.001491, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.86 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2465, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01444/0.2609, allocations: 14.07 MB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2726, allocations: 9.399 MB / 1.076 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008618/0.2735, allocations: 59.62 kB / 1.076 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.2771, allocations: 1.668 MB / 1.077 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.2801, allocations: 1.538 MB / 1.079 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.2816, allocations: 0.7626 MB / 1.08 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.2841, allocations: 2.505 MB / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.2857, allocations: 1.407 MB / 1.084 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2869, allocations: 1.043 MB / 1.085 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2883, allocations: 1.136 MB / 1.086 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.2886, allocations: 167.9 kB / 1.086 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.2898, allocations: 0.7955 MB / 1.087 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.2904, allocations: 0.6232 MB / 1.087 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009311/0.2913, allocations: 0.929 MB / 1.088 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.2937, allocations: 2.734 MB / 1.091 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2937, allocations: 7.922 kB / 1.091 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2937, allocations: 0 / 1.091 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.945e-05/0.2938, allocations: 4 kB / 1.091 GB, free: 1.352 MB / 0.8419 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.003586/0.2974, allocations: 2.123 MB / 1.093 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2974, allocations: 12.62 kB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.2976, allocations: 202.4 kB / 1.093 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.3083, allocations: 2.081 MB / 1.095 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.3103, allocations: 1.197 MB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.3104, allocations: 90.73 kB / 1.096 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.3106, allocations: 123.8 kB / 1.097 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.3156, allocations: 2.682 MB / 1.099 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.3156, allocations: 11.92 kB / 1.099 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.3158, allocations: 51.98 kB / 1.099 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000603/0.3164, allocations: 182.1 kB / 1.099 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006966/0.3234, allocations: 2.795 MB / 1.102 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.3357, allocations: 10.51 MB / 1.112 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/0.3421, allocations: 2.521 MB / 1.115 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.345, allocations: 1.28 MB / 1.116 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.3451, allocations: 9 kB / 1.116 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3452, allocations: 47.56 kB / 1.116 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.606e-06/0.3452, allocations: 0 / 1.116 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of matching and sorting (n=131): time 0.04527/0.3904, allocations: 13.35 MB / 1.129 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3905, allocations: 72.7 kB / 1.129 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3919, allocations: 1.117 MB / 1.13 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.392, allocations: 49.7 kB / 1.13 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.3925, allocations: 0.7155 MB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.3929, allocations: 453.4 kB / 1.132 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/0.3934, allocations: 267.4 kB / 1.132 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3936, allocations: 357.9 kB / 1.132 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.3968, allocations: 1.343 MB / 1.133 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.4001, allocations: 1.604 MB / 1.135 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/0.4067, allocations: 2.987 MB / 1.138 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4067, allocations: 4 kB / 1.138 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01102/0.4178, allocations: 4.447 MB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4178, allocations: 8 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4178, allocations: 8 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.4228, allocations: 1.443 MB / 1.144 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.4248, allocations: 443.2 kB / 1.144 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.4491, allocations: 26.69 MB / 1.17 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.4515, allocations: 311.4 kB / 1.17 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.4518, allocations: 63.97 kB / 1.171 GB, free: 12.4 MB / 0.9356 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007937/0.4526, allocations: 435.6 kB / 1.171 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.453, allocations: 162 kB / 1.171 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.464, allocations: 4.453 MB / 1.175 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4641, allocations: 12 kB / 1.175 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/0.4641, allocations: 12.11 kB / 1.175 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4641, allocations: 15.91 kB / 1.175 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.4781, allocations: 6.762 MB / 1.182 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4781, allocations: 4 kB / 1.182 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.4798, allocations: 379.7 kB / 1.182 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/0.4841, allocations: 1.314 MB / 1.184 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.4842, allocations: 47.89 kB / 1.184 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/0.5067, allocations: 25.51 MB / 1.209 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5068, allocations: 3.938 kB / 1.209 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.517, allocations: 4.204 MB / 1.213 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/0.5179, allocations: 463 kB / 1.213 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.5182, allocations: 27.94 kB / 1.213 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.5203, allocations: 307.5 kB / 1.214 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.5207, allocations: 124.7 kB / 1.214 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5208, allocations: 47.97 kB / 1.214 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009266/0.5217, allocations: 0.7526 MB / 1.214 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5217, allocations: 0 / 1.214 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001779/0.5235, allocations: 0.5742 MB / 1.215 GB, free: 12.61 MB / 0.9825 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/0.5337, allocations: 4.786 MB / 1.22 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01071/0.5445, allocations: 5.513 MB / 1.225 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5445, allocations: 3.938 kB / 1.225 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006272/0.5508, allocations: 3.491 MB / 1.228 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.5531, allocations: 0.5594 MB / 1.229 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03984/0.593, allocations: 20.32 MB / 1.249 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.5942, allocations: 1.473 MB / 1.25 GB, free: 7.312 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00164/0.5958, allocations: 425.6 kB / 1.251 GB, free: 6.891 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/0.5967, allocations: 0.6359 MB / 1.251 GB, free: 6.254 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/0.5967, allocations: 3.938 kB / 1.251 GB, free: 6.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.072/3.668, allocations: 51.3 MB / 1.301 GB, free: 183.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/14.36, allocations: 9.875 kB / 1.301 GB, free: 183.1 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches