Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001527/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00166/0.00166, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.54/1.54, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.615/3.615, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.44 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03291/0.2755, allocations: 34.82 MB / 1.086 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.2896, allocations: 9.843 MB / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.2921, allocations: 135.2 kB / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008048/0.3001, allocations: 3.56 MB / 1.1 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.3047, allocations: 1.874 MB / 1.101 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.3086, allocations: 1.804 MB / 1.103 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007553/0.3161, allocations: 7.986 MB / 1.111 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01394/0.3301, allocations: 11.7 MB / 1.122 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.3345, allocations: 3.427 MB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004792/0.3393, allocations: 3.906 MB / 1.13 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.3407, allocations: 0.6797 MB / 1.13 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.3439, allocations: 1.443 MB / 1.132 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3467, allocations: 2.616 MB / 1.134 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003931/0.3507, allocations: 3.097 MB / 1.137 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.3585, allocations: 10.39 MB / 1.147 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3585, allocations: 0 / 1.147 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3585, allocations: 0 / 1.147 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001513/0.3586, allocations: 4 kB / 1.147 GB, free: 7.043 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009232/0.3679, allocations: 5.397 MB / 1.153 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3679, allocations: 12.62 kB / 1.153 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008899/0.3688, allocations: 0.6984 MB / 1.153 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/0.3732, allocations: 0.9627 MB / 1.154 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/0.3785, allocations: 2.999 MB / 1.157 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.3788, allocations: 361.9 kB / 1.158 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.3799, allocations: 464.3 kB / 1.158 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.3977, allocations: 7.91 MB / 1.166 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.3979, allocations: 23.77 kB / 1.166 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.3989, allocations: 208 kB / 1.166 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005699/0.3995, allocations: 369.1 kB / 1.166 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4104, allocations: 5.933 MB / 1.172 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04323/0.4537, allocations: 36.22 MB / 1.208 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.4571, allocations: 2.131 MB / 1.21 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.459, allocations: 1.477 MB / 1.211 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4592, allocations: 21.31 kB / 1.211 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.4592, allocations: 55.81 kB / 1.211 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=157): time 3.256e-06/0.4592, allocations: 0 / 1.211 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.01357/0.4728, allocations: 7.544 MB / 1.218 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4729, allocations: 68.72 kB / 1.219 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.4755, allocations: 1.853 MB / 1.22 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.4756, allocations: 57.7 kB / 1.22 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.4769, allocations: 2.123 MB / 1.222 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.4774, allocations: 0.5623 MB / 1.223 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.478, allocations: 399.7 kB / 1.223 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.4781, allocations: 305.1 kB / 1.224 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4799, allocations: 1.066 MB / 1.225 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.4819, allocations: 1.756 MB / 1.226 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.4855, allocations: 3.049 MB / 1.229 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.4855, allocations: 4 kB / 1.229 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006552/0.4921, allocations: 3.932 MB / 1.233 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4922, allocations: 17.19 kB / 1.233 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.4922, allocations: 24 kB / 1.233 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.4946, allocations: 0.9354 MB / 1.234 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.496, allocations: 427.2 kB / 1.235 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.5161, allocations: 22.77 MB / 1.257 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.5182, allocations: 119.9 kB / 1.257 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5186, allocations: 96 kB / 1.257 GB, free: 208 kB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4386/0.9572, allocations: 1.647 MB / 1.259 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.9577, allocations: 253.9 kB / 1.259 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/0.962, allocations: 3.268 MB / 1.262 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.962, allocations: 15.88 kB / 1.262 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.962, allocations: 10.97 kB / 1.262 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.962, allocations: 7.25 kB / 1.262 GB, free: 186.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.9714, allocations: 7.562 MB / 1.27 GB, free: 185.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.9714, allocations: 2.906 kB / 1.27 GB, free: 185.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.9722, allocations: 216 kB / 1.27 GB, free: 185.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.9742, allocations: 0.8947 MB / 1.271 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.9743, allocations: 31.75 kB / 1.271 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/0.99, allocations: 22.74 MB / 1.293 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9901, allocations: 4.438 kB / 1.293 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.995, allocations: 3.382 MB / 1.296 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009552/0.996, allocations: 0.5269 MB / 1.297 GB, free: 166.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.9964, allocations: 38.03 kB / 1.297 GB, free: 166.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9975, allocations: 94.8 kB / 1.297 GB, free: 166.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.9979, allocations: 144.6 kB / 1.297 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.998, allocations: 47.92 kB / 1.297 GB, free: 166.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001788/0.9998, allocations: 1.221 MB / 1.298 GB, free: 166.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9998, allocations: 1.125 kB / 1.298 GB, free: 166.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002545/1.002, allocations: 0.9118 MB / 1.299 GB, free: 166.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00466/1.007, allocations: 3.981 MB / 1.303 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006409/1.013, allocations: 5.202 MB / 1.308 GB, free: 161.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.013, allocations: 1.531 kB / 1.308 GB, free: 161.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.017, allocations: 2.996 MB / 1.311 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/1.021, allocations: 0.8247 MB / 1.312 GB, free: 159.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/1.067, allocations: 29.51 MB / 1.341 GB, free: 138.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003151/1.07, allocations: 3.211 MB / 1.344 GB, free: 135.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001633/1.072, allocations: 0.5309 MB / 1.344 GB, free: 134.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.073, allocations: 1.647 MB / 1.346 GB, free: 133.1 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.073, allocations: 0 / 1.346 GB, free: 133.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/2.155, allocations: 70.98 MB / 1.415 GB, free: 63 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/2.155, allocations: 256.7 kB / 1.415 GB, free: 62.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.456/7.611, allocations: 0 / 1.415 GB, free: 62.75 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches