Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_N,fileNamePrefix="Buildings_9_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_9_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.001766/0.001766, allocations: 108 kB / 15.61 MB, free: 148 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.002047/0.002047, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.409/1.409, 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 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.584, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03641/0.6205, allocations: 33.31 MB / 0.9823 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.6441, allocations: 14.84 MB / 0.9968 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.6479, allocations: 155.2 kB / 0.9969 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009431/0.6574, allocations: 3.647 MB / 1 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008651/0.666, allocations: 2.899 MB / 1.003 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006923/0.673, allocations: 2.321 MB / 1.006 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.6865, allocations: 8.814 MB / 1.014 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/0.7, allocations: 9.636 MB / 1.024 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.7061, allocations: 3.946 MB / 1.027 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006245/0.7123, allocations: 4.038 MB / 1.031 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002193/0.7146, allocations: 0.7148 MB / 1.032 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.719, allocations: 1.713 MB / 1.034 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003818/0.7229, allocations: 2.826 MB / 1.037 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005946/0.7288, allocations: 3.396 MB / 1.04 GB, free: 5.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.7411, allocations: 11.12 MB / 1.051 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7411, allocations: 0 / 1.051 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7411, allocations: 0 / 1.051 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003742/0.7415, allocations: 4 kB / 1.051 GB, free: 10.1 MB / 0.8106 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.01546/0.757, allocations: 5.975 MB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7571, allocations: 8.031 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001887/0.7589, allocations: 0.7271 MB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007524/0.7665, allocations: 1.145 MB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/0.7737, allocations: 3.321 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.7741, allocations: 378.3 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.7758, allocations: 0.4958 MB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.7954, allocations: 7.993 MB / 1.07 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.7957, allocations: 27.78 kB / 1.07 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/0.7971, allocations: 220 kB / 1.07 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.7984, allocations: 441.5 kB / 1.071 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.8104, allocations: 6.081 MB / 1.077 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/0.8518, allocations: 35.16 MB / 1.111 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.8548, allocations: 2.018 MB / 1.113 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/0.8575, allocations: 1.873 MB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.8576, allocations: 21.98 kB / 1.115 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.8577, allocations: 56.5 kB / 1.115 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/0.8577, allocations: 7.938 kB / 1.115 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.157/1.015, allocations: 38.86 MB / 1.153 GB, free: 13.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.015, allocations: 81.58 kB / 1.153 GB, free: 13.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/1.018, allocations: 2.278 MB / 1.155 GB, free: 11.17 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004504/1.019, allocations: 73.7 kB / 1.155 GB, free: 11.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.021, allocations: 2.28 MB / 1.158 GB, free: 8.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.022, allocations: 0.9318 MB / 1.159 GB, free: 7.836 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.023, allocations: 0.51 MB / 1.159 GB, free: 7.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/1.023, allocations: 309.1 kB / 1.159 GB, free: 7.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00294/1.026, allocations: 1.973 MB / 1.161 GB, free: 5.035 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003364/1.029, allocations: 2.602 MB / 1.164 GB, free: 2.191 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007017/1.036, allocations: 4.929 MB / 1.169 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/1.036, allocations: 4 kB / 1.169 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01503/1.051, allocations: 7.761 MB / 1.176 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.051, allocations: 13.09 kB / 1.176 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.051, allocations: 20 kB / 1.176 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009422/1.061, allocations: 3.24 MB / 1.179 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/1.063, allocations: 399.3 kB / 1.18 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04533/1.108, allocations: 33.91 MB / 1.213 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.111, allocations: 163.8 kB / 1.213 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005399/1.112, allocations: 104 kB / 1.213 GB, free: 14.45 MB / 0.9825 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.003236/1.115, allocations: 1.793 MB / 1.215 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/1.116, allocations: 328.1 kB / 1.215 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/1.13, allocations: 7.368 MB / 1.222 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.13, allocations: 28 kB / 1.222 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-05/1.13, allocations: 32 kB / 1.222 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.13, allocations: 19.92 kB / 1.222 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.154, allocations: 12.92 MB / 1.235 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.154, allocations: 8.125 kB / 1.235 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.155, allocations: 235.6 kB / 1.235 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008561/1.164, allocations: 2.876 MB / 1.238 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003369/1.164, allocations: 48 kB / 1.238 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4656/1.63, allocations: 32.68 MB / 1.27 GB, free: 271.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.63, allocations: 15.09 kB / 1.27 GB, free: 271.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.643, allocations: 6.879 MB / 1.277 GB, free: 268.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.645, allocations: 0.7774 MB / 1.278 GB, free: 268.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007119/1.645, allocations: 63.55 kB / 1.278 GB, free: 268.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.647, allocations: 168.5 kB / 1.278 GB, free: 268.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008274/1.648, allocations: 254.2 kB / 1.278 GB, free: 268.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.648, allocations: 75.28 kB / 1.278 GB, free: 268.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00202/1.65, allocations: 1.528 MB / 1.28 GB, free: 267.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.65, allocations: 0 / 1.28 GB, free: 267.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003932/1.654, allocations: 1.373 MB / 1.281 GB, free: 267.7 MB / 1.014 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.01207/1.666, allocations: 7.508 MB / 1.288 GB, free: 264.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.679, allocations: 8.381 MB / 1.296 GB, free: 261.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.679, allocations: 3.875 kB / 1.296 GB, free: 261.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006525/1.686, allocations: 4.406 MB / 1.301 GB, free: 259 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.69, allocations: 1.106 MB / 1.302 GB, free: 258.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05523/1.745, allocations: 43.85 MB / 1.345 GB, free: 216.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003798/1.749, allocations: 3.646 MB / 1.348 GB, free: 212.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002033/1.751, allocations: 0.5478 MB / 1.349 GB, free: 212.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.753, allocations: 1.975 MB / 1.351 GB, free: 210.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.753, allocations: 0 / 1.351 GB, free: 210.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1407/1.894, allocations: 112.7 MB / 1.461 GB, free: 98.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/13.59, allocations: 13.78 kB / 1.461 GB, free: 98.71 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches