Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001453/0.001453, 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.001448/0.001448, allocations: 195.5 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.544/2.544, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 61 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2454, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03777/0.2832, allocations: 34.83 MB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.3004, allocations: 11.5 MB / 1.109 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.3025, allocations: 163.2 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009112/0.3117, allocations: 4.253 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.3158, allocations: 1.994 MB / 1.116 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.3203, allocations: 2.407 MB / 1.118 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007415/0.3278, allocations: 8.456 MB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.3395, allocations: 11.2 MB / 1.137 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.3435, allocations: 3.724 MB / 1.141 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.3476, allocations: 4.19 MB / 1.145 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009133/0.3485, allocations: 0.7812 MB / 1.146 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.3516, allocations: 2.024 MB / 1.148 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002518/0.3542, allocations: 3.057 MB / 1.151 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.3572, allocations: 3.4 MB / 1.154 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009382/0.3666, allocations: 11.91 MB / 1.166 GB, free: 5.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3666, allocations: 3.938 kB / 1.166 GB, free: 5.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3666, allocations: 4 kB / 1.166 GB, free: 5.914 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001034/0.3668, allocations: 0 / 1.166 GB, free: 5.914 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008612/0.3754, allocations: 5.783 MB / 1.171 GB, free: 60 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3754, allocations: 12.03 kB / 1.171 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009575/0.3764, allocations: 0.8167 MB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.3812, allocations: 1.056 MB / 1.173 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.3857, allocations: 3.259 MB / 1.176 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/0.386, allocations: 411.5 kB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007341/0.3867, allocations: 0.5393 MB / 1.177 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.3985, allocations: 9.075 MB / 1.186 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.3986, allocations: 31.62 kB / 1.186 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004894/0.3991, allocations: 247.9 kB / 1.186 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003333/0.3995, allocations: 350.8 kB / 1.187 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009368/0.4088, allocations: 6.826 MB / 1.193 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.4424, allocations: 40.1 MB / 1.232 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.4459, allocations: 3.121 MB / 1.235 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.4483, allocations: 1.962 MB / 1.237 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.4484, allocations: 21.98 kB / 1.237 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4485, allocations: 48.56 kB / 1.237 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 2.855e-06/0.4485, allocations: 8 kB / 1.237 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.4087/0.8572, allocations: 9.975 MB / 1.247 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.8573, allocations: 75.89 kB / 1.247 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.8593, allocations: 1.523 MB / 1.249 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.8595, allocations: 55.14 kB / 1.249 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/0.8604, allocations: 2.257 MB / 1.251 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.8608, allocations: 0.6261 MB / 1.252 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.8614, allocations: 409.5 kB / 1.252 GB, free: 165 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.063e-05/0.8615, allocations: 305 kB / 1.252 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.8628, allocations: 1.182 MB / 1.253 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.8643, allocations: 1.885 MB / 1.255 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.8673, allocations: 3.371 MB / 1.259 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.8673, allocations: 7.875 kB / 1.259 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006278/0.8736, allocations: 4.573 MB / 1.263 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.8737, allocations: 13.69 kB / 1.263 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/0.8737, allocations: 23.58 kB / 1.263 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0034/0.8771, allocations: 1.592 MB / 1.265 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8781, allocations: 351 kB / 1.265 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.8968, allocations: 18.61 MB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8982, allocations: 118.9 kB / 1.283 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.8984, allocations: 94.53 kB / 1.283 GB, free: 149 MB / 0.9981 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002226/0.9006, allocations: 1.898 MB / 1.285 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.9009, allocations: 225.3 kB / 1.285 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/0.9063, allocations: 4.087 MB / 1.289 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9063, allocations: 21.66 kB / 1.289 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.9063, allocations: 21.25 kB / 1.289 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.9063, allocations: 14.25 kB / 1.29 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.9169, allocations: 9.467 MB / 1.299 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.9169, allocations: 3.969 kB / 1.299 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/0.9176, allocations: 182.2 kB / 1.299 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.9202, allocations: 1.366 MB / 1.3 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.9203, allocations: 39.84 kB / 1.3 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.9346, allocations: 17.36 MB / 1.317 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9346, allocations: 7.562 kB / 1.317 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004689/0.9393, allocations: 4.073 MB / 1.321 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/0.94, allocations: 0.5322 MB / 1.322 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.9402, allocations: 36 kB / 1.322 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.9411, allocations: 90.7 kB / 1.322 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.9414, allocations: 173.5 kB / 1.322 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.9415, allocations: 48 kB / 1.322 GB, free: 124.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008992/0.9424, allocations: 1.005 MB / 1.323 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9424, allocations: 0 / 1.323 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002232/0.9446, allocations: 0.9844 MB / 1.324 GB, free: 122.9 MB / 0.9981 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004642/0.9492, allocations: 4.667 MB / 1.329 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005933/0.9552, allocations: 5.193 MB / 1.334 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9552, allocations: 0 / 1.334 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.9581, allocations: 2.663 MB / 1.336 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.9607, allocations: 0.7811 MB / 1.337 GB, free: 109.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.9877, allocations: 28.66 MB / 1.365 GB, free: 78.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.9902, allocations: 3.573 MB / 1.369 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00107/0.9913, allocations: 464.2 kB / 1.369 GB, free: 74.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/0.9925, allocations: 1.792 MB / 1.371 GB, free: 73.02 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9925, allocations: 0 / 1.371 GB, free: 73.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.98/11.97, allocations: 72.47 MB / 1.441 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/22.58, allocations: 4 kB / 1.441 GB, free: 1.254 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches