Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001586/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001782/0.001782, allocations: 194.3 kB / 16.14 MB, free: 6.648 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 65.23 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.239, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03123/0.2703, allocations: 33.04 MB / 1.084 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.2894, allocations: 14.78 MB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.2922, allocations: 143.2 kB / 1.099 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007215/0.2995, allocations: 3.398 MB / 1.102 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.3056, allocations: 2.678 MB / 1.105 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.3101, allocations: 2.128 MB / 1.107 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.3205, allocations: 12.19 MB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.3325, allocations: 10.36 MB / 1.129 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.3372, allocations: 3.441 MB / 1.132 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.3415, allocations: 4.092 MB / 1.136 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007429/0.3422, allocations: 484 kB / 1.137 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.3452, allocations: 1.743 MB / 1.139 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.3472, allocations: 2.584 MB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002838/0.3501, allocations: 3.119 MB / 1.144 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.3579, allocations: 10.99 MB / 1.155 GB, free: 14.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.358, allocations: 4 kB / 1.155 GB, free: 14.63 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.358, allocations: 3.938 kB / 1.155 GB, free: 14.63 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001354/0.3581, allocations: 0 / 1.155 GB, free: 14.63 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008954/0.3671, allocations: 5.971 MB / 1.161 GB, free: 8.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3671, allocations: 15.97 kB / 1.161 GB, free: 8.562 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008221/0.368, allocations: 0.7271 MB / 1.161 GB, free: 7.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.3738, allocations: 1.145 MB / 1.163 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/0.3787, allocations: 3.325 MB / 1.166 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3789, allocations: 370.4 kB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/0.3795, allocations: 0.4919 MB / 1.167 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3899, allocations: 8.009 MB / 1.174 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-05/0.39, allocations: 19.78 kB / 1.175 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004645/0.3904, allocations: 216 kB / 1.175 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009483/0.3914, allocations: 437.6 kB / 1.175 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008283/0.3997, allocations: 6.088 MB / 1.181 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.4311, allocations: 35.16 MB / 1.215 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.4335, allocations: 2.018 MB / 1.217 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.4357, allocations: 1.861 MB / 1.219 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.4358, allocations: 18 kB / 1.219 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.4358, allocations: 68.45 kB / 1.219 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/0.4358, allocations: 0 / 1.219 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.6736/1.109, allocations: 38.88 MB / 1.257 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.11, allocations: 80.3 kB / 1.257 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.113, allocations: 2.275 MB / 1.26 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/1.114, allocations: 72.39 kB / 1.26 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.115, allocations: 2.275 MB / 1.262 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/1.116, allocations: 0.9349 MB / 1.263 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/1.117, allocations: 0.5087 MB / 1.263 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/1.117, allocations: 310.2 kB / 1.264 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/1.12, allocations: 1.974 MB / 1.265 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/1.124, allocations: 2.601 MB / 1.268 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/1.129, allocations: 4.93 MB / 1.273 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.129, allocations: 5.094 kB / 1.273 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01325/1.143, allocations: 7.763 MB / 1.28 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.143, allocations: 12.81 kB / 1.28 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.143, allocations: 16.78 kB / 1.28 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008497/1.151, allocations: 3.22 MB / 1.284 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.153, allocations: 399.3 kB / 1.284 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03258/1.185, allocations: 31.09 MB / 1.314 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/1.188, allocations: 166 kB / 1.314 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/1.189, allocations: 108 kB / 1.315 GB, free: 141.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00279/1.192, allocations: 1.801 MB / 1.316 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/1.192, allocations: 332.2 kB / 1.317 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.203, allocations: 7.353 MB / 1.324 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.203, allocations: 31.98 kB / 1.324 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.204, allocations: 31.66 kB / 1.324 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/1.204, allocations: 11.95 kB / 1.324 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.221, allocations: 12.92 MB / 1.337 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.221, allocations: 11.83 kB / 1.337 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/1.222, allocations: 239.5 kB / 1.337 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006712/1.228, allocations: 2.847 MB / 1.34 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.228, allocations: 52 kB / 1.34 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/1.258, allocations: 29.89 MB / 1.369 GB, free: 84.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.258, allocations: 11.94 kB / 1.369 GB, free: 84.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009592/1.268, allocations: 6.886 MB / 1.376 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.269, allocations: 0.7744 MB / 1.376 GB, free: 77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/1.269, allocations: 55.98 kB / 1.376 GB, free: 76.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.271, allocations: 167.8 kB / 1.376 GB, free: 76.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007705/1.272, allocations: 253.3 kB / 1.377 GB, free: 76.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.272, allocations: 83.92 kB / 1.377 GB, free: 76.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001704/1.274, allocations: 1.525 MB / 1.378 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.274, allocations: 0 / 1.378 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003574/1.277, allocations: 1.367 MB / 1.38 GB, free: 73.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009654/1.287, allocations: 7.512 MB / 1.387 GB, free: 65.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0091/1.296, allocations: 6.899 MB / 1.394 GB, free: 58.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.296, allocations: 7.094 kB / 1.394 GB, free: 58.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/1.302, allocations: 4.406 MB / 1.398 GB, free: 54.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.305, allocations: 1.041 MB / 1.399 GB, free: 53.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05813/1.363, allocations: 46.04 MB / 1.444 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.366, allocations: 3.636 MB / 1.448 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001995/1.368, allocations: 0.556 MB / 1.448 GB, free: 428 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/1.371, allocations: 1.984 MB / 1.45 GB, free: 14.49 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.371, allocations: 0 / 1.45 GB, free: 14.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7964/2.167, allocations: 110.1 MB / 1.558 GB, free: 1.66 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/2.167, allocations: 250.6 kB / 1.558 GB, free: 1.402 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/5.953, allocations: 0 / 1.558 GB, free: 1.402 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches