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.007269/0.007269, allocations: 102 kB / 15.73 MB, free: 6.051 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.001702/0.001702, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.209/2.209, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7125, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03723/0.7497, allocations: 33.32 MB / 1.12 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02648/0.7763, allocations: 14.82 MB / 1.134 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.7808, allocations: 157.7 kB / 1.135 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.7917, allocations: 3.666 MB / 1.138 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.8014, allocations: 2.888 MB / 1.141 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007098/0.8085, allocations: 2.32 MB / 1.143 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.8214, allocations: 8.822 MB / 1.152 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.8371, allocations: 9.57 MB / 1.161 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008623/0.8458, allocations: 3.961 MB / 1.165 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008425/0.8542, allocations: 4.034 MB / 1.169 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.8575, allocations: 0.7156 MB / 1.17 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006074/0.8636, allocations: 1.721 MB / 1.171 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005397/0.869, allocations: 2.828 MB / 1.174 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008894/0.8779, allocations: 3.39 MB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/0.8957, allocations: 11.2 MB / 1.188 GB, free: 6.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8957, allocations: 0 / 1.188 GB, free: 6.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8957, allocations: 0 / 1.188 GB, free: 6.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003819/0.8961, allocations: 1.031 kB / 1.188 GB, free: 6.371 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.01774/0.9139, allocations: 5.983 MB / 1.194 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9139, allocations: 8.031 kB / 1.194 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002494/0.9164, allocations: 0.7271 MB / 1.195 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/0.9245, allocations: 1.149 MB / 1.196 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009043/0.9335, allocations: 3.52 MB / 1.2 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.9339, allocations: 370.4 kB / 1.2 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.936, allocations: 0.492 MB / 1.2 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.9555, allocations: 8.001 MB / 1.208 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/0.9558, allocations: 19.78 kB / 1.208 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/0.9575, allocations: 216 kB / 1.208 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.9587, allocations: 441.5 kB / 1.209 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.9719, allocations: 6.085 MB / 1.215 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04703/1.019, allocations: 34.88 MB / 1.249 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/1.022, allocations: 2.03 MB / 1.251 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/1.025, allocations: 1.869 MB / 1.253 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/1.026, allocations: 18 kB / 1.253 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/1.026, allocations: 72.38 kB / 1.253 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.208e-06/1.026, allocations: 0 / 1.253 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1635/1.189, allocations: 38.88 MB / 1.291 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/1.189, allocations: 85.58 kB / 1.291 GB, free: 10.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/1.193, allocations: 2.282 MB / 1.293 GB, free: 7.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/1.193, allocations: 77.7 kB / 1.293 GB, free: 7.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.195, allocations: 2.272 MB / 1.295 GB, free: 5.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.196, allocations: 0.9279 MB / 1.296 GB, free: 4.395 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/1.197, allocations: 0.5061 MB / 1.297 GB, free: 3.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.197, allocations: 313 kB / 1.297 GB, free: 3.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/1.2, allocations: 1.966 MB / 1.299 GB, free: 1.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/1.204, allocations: 2.606 MB / 1.302 GB, free: 14.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/1.21, allocations: 4.933 MB / 1.306 GB, free: 9.539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/1.21, allocations: 4 kB / 1.306 GB, free: 9.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01554/1.226, allocations: 7.757 MB / 1.314 GB, free: 1.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.226, allocations: 12 kB / 1.314 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.226, allocations: 20.88 kB / 1.314 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00947/1.236, allocations: 3.214 MB / 1.317 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.237, allocations: 403.2 kB / 1.317 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04481/1.282, allocations: 33.87 MB / 1.351 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.285, allocations: 163.8 kB / 1.351 GB, free: 11.17 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/1.286, allocations: 108 kB / 1.351 GB, free: 11.07 MB / 1.092 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.003383/1.289, allocations: 1.805 MB / 1.353 GB, free: 9.25 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.29, allocations: 332 kB / 1.353 GB, free: 8.922 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.305, allocations: 7.357 MB / 1.36 GB, free: 1.484 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.305, allocations: 24 kB / 1.36 GB, free: 1.461 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.524e-05/1.305, allocations: 32.38 kB / 1.36 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/1.305, allocations: 11.95 kB / 1.36 GB, free: 1.418 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.33, allocations: 12.94 MB / 1.373 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.33, allocations: 8 kB / 1.373 GB, free: 4.301 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.331, allocations: 235.5 kB / 1.373 GB, free: 4.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00828/1.339, allocations: 2.849 MB / 1.376 GB, free: 1.203 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003133/1.34, allocations: 52 kB / 1.376 GB, free: 1.152 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04289/1.383, allocations: 32.65 MB / 1.408 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.383, allocations: 8 kB / 1.408 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.396, allocations: 6.879 MB / 1.414 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.398, allocations: 0.7821 MB / 1.415 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.399, allocations: 59.98 kB / 1.415 GB, free: 7.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.402, allocations: 163.8 kB / 1.415 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009609/1.403, allocations: 265.1 kB / 1.416 GB, free: 7.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/1.403, allocations: 72 kB / 1.416 GB, free: 7.18 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00269/1.406, allocations: 1.529 MB / 1.417 GB, free: 5.648 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.406, allocations: 0 / 1.417 GB, free: 5.648 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005063/1.411, allocations: 1.371 MB / 1.419 GB, free: 4.277 MB / 1.154 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.01309/1.424, allocations: 7.513 MB / 1.426 GB, free: 12.54 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.437, allocations: 6.919 MB / 1.433 GB, free: 5.527 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.437, allocations: 7.953 kB / 1.433 GB, free: 5.52 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008301/1.445, allocations: 4.421 MB / 1.437 GB, free: 1.02 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00616/1.451, allocations: 1.109 MB / 1.438 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07469/1.526, allocations: 39.01 MB / 1.476 GB, free: 7.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005257/1.531, allocations: 3.639 MB / 1.48 GB, free: 4.145 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001982/1.533, allocations: 0.5712 MB / 1.48 GB, free: 3.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/1.536, allocations: 1.968 MB / 1.482 GB, free: 1.605 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/1.536, allocations: 0 / 1.482 GB, free: 1.605 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.66/2.196, allocations: 111.6 MB / 1.591 GB, free: 425.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/17.74, allocations: 11.38 kB / 1.591 GB, free: 425.1 MB / 1.311 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