Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.004608/0.004608, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001278/0.001278, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 162.2 MB / 1.241 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.5625/0.8719, allocations: 20.23 MB / 1.261 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009486/0.8814, allocations: 6.453 MB / 1.268 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.883, allocations: 94.66 kB / 1.268 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.8878, allocations: 2.24 MB / 1.27 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.8907, allocations: 1.18 MB / 1.271 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.8938, allocations: 1.276 MB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006016/0.8998, allocations: 4.854 MB / 1.277 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007098/0.9069, allocations: 5.602 MB / 1.282 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.9105, allocations: 2.078 MB / 1.284 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.9145, allocations: 2.34 MB / 1.287 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.9153, allocations: 434.1 kB / 1.287 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.9176, allocations: 1.007 MB / 1.288 GB, free: 9.223 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.9196, allocations: 1.665 MB / 1.29 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.9223, allocations: 1.912 MB / 1.292 GB, free: 7.309 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008505/0.9308, allocations: 6.537 MB / 1.298 GB, free: 5.234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9309, allocations: 0 / 1.298 GB, free: 5.234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9309, allocations: 0 / 1.298 GB, free: 5.234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001534/0.931, allocations: 0 / 1.298 GB, free: 5.234 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008742/0.9398, allocations: 3.537 MB / 1.301 GB, free: 3.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9398, allocations: 14.16 kB / 1.301 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008416/0.9407, allocations: 457 kB / 1.302 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.9444, allocations: 0.6511 MB / 1.303 GB, free: 2.719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.9484, allocations: 2.054 MB / 1.305 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.9486, allocations: 217.2 kB / 1.305 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/0.9491, allocations: 301.5 kB / 1.305 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009531/0.9587, allocations: 4.889 MB / 1.31 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.459e-05/0.9588, allocations: 10.55 kB / 1.31 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.9592, allocations: 134.2 kB / 1.31 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004518/0.9596, allocations: 230.3 kB / 1.31 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006794/0.9664, allocations: 3.748 MB / 1.314 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02555/0.992, allocations: 21.44 MB / 1.335 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.9941, allocations: 1.304 MB / 1.336 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.9956, allocations: 1.056 MB / 1.337 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.9957, allocations: 10.34 kB / 1.337 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.9957, allocations: 44.47 kB / 1.337 GB, free: 9.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=107): time 2.545e-06/0.9957, allocations: 1.344 kB / 1.337 GB, free: 9.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=138): time 0.02564/1.021, allocations: 8.709 MB / 1.346 GB, free: 5.344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/1.021, allocations: 66.41 kB / 1.346 GB, free: 5.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/1.023, allocations: 1.129 MB / 1.347 GB, free: 4.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.023, allocations: 48.02 kB / 1.347 GB, free: 4.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.024, allocations: 1.341 MB / 1.348 GB, free: 3.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/1.025, allocations: 498.7 kB / 1.349 GB, free: 3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/1.025, allocations: 291 kB / 1.349 GB, free: 2.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.025, allocations: 309.1 kB / 1.349 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/1.027, allocations: 0.9148 MB / 1.35 GB, free: 2.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/1.029, allocations: 1.325 MB / 1.351 GB, free: 1.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/1.032, allocations: 2.424 MB / 1.354 GB, free: 15.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.032, allocations: 3.031 kB / 1.354 GB, free: 15.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006484/1.038, allocations: 3.473 MB / 1.357 GB, free: 13.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.038, allocations: 13.67 kB / 1.357 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.038, allocations: 12.91 kB / 1.357 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/1.042, allocations: 1.18 MB / 1.358 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/1.043, allocations: 255.6 kB / 1.359 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/1.062, allocations: 13.87 MB / 1.372 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.063, allocations: 87.91 kB / 1.372 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.063, allocations: 63.94 kB / 1.372 GB, free: 12 kB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002071/1.065, allocations: 1.118 MB / 1.373 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/1.066, allocations: 174.9 kB / 1.374 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/1.072, allocations: 3.161 MB / 1.377 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.072, allocations: 16 kB / 1.377 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.072, allocations: 19.88 kB / 1.377 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.072, allocations: 7.969 kB / 1.377 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.084, allocations: 6.249 MB / 1.383 GB, free: 5.098 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.084, allocations: 4 kB / 1.383 GB, free: 5.094 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/1.084, allocations: 148.1 kB / 1.383 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/1.087, allocations: 1.074 MB / 1.384 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/1.087, allocations: 32 kB / 1.384 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/1.106, allocations: 13.55 MB / 1.397 GB, free: 5.871 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.106, allocations: 4 kB / 1.397 GB, free: 5.867 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/1.112, allocations: 3.171 MB / 1.4 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/1.113, allocations: 435.9 kB / 1.401 GB, free: 2.172 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/1.113, allocations: 27.95 kB / 1.401 GB, free: 2.145 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/1.114, allocations: 83.89 kB / 1.401 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/1.114, allocations: 124.7 kB / 1.401 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/1.114, allocations: 40.36 kB / 1.401 GB, free: 1.902 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001087/1.115, allocations: 0.7671 MB / 1.402 GB, free: 1.133 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/1.115, allocations: 0 / 1.402 GB, free: 1.133 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002077/1.117, allocations: 0.6562 MB / 1.402 GB, free: 488 kB / 1.092 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005956/1.123, allocations: 3.756 MB / 1.406 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005237/1.128, allocations: 3.149 MB / 1.409 GB, free: 9.434 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.128, allocations: 0 / 1.409 GB, free: 9.434 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.132, allocations: 1.963 MB / 1.411 GB, free: 7.438 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.134, allocations: 0.4927 MB / 1.412 GB, free: 6.957 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/1.166, allocations: 19.2 MB / 1.43 GB, free: 3.168 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/1.168, allocations: 2.348 MB / 1.433 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001073/1.169, allocations: 346.1 kB / 1.433 GB, free: 456 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.171, allocations: 1.011 MB / 1.434 GB, free: 15.43 MB / 1.139 GB Notification: Performance of SimCode: time 6.82e-07/1.171, allocations: 0 / 1.434 GB, free: 15.43 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.275, allocations: 52.28 MB / 1.485 GB, free: 11.79 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.39, allocations: 21.95 kB / 1.485 GB, free: 11.77 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches