Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.005819/0.005819, allocations: 102.3 kB / 15.73 MB, free: 6.004 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.001356/0.001356, allocations: 192.5 kB / 16.67 MB, free: 5.934 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 64.11 kB / 1.054 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7432, allocations: 157.4 MB / 1.207 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02346/0.7667, allocations: 23.43 MB / 1.23 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.7771, allocations: 6.484 MB / 1.236 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.7793, allocations: 95.56 kB / 1.237 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.7828, allocations: 1.496 MB / 1.238 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.787, allocations: 1.816 MB / 1.24 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.7902, allocations: 1.465 MB / 1.241 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006699/0.7969, allocations: 6.904 MB / 1.248 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007204/0.8042, allocations: 6.943 MB / 1.255 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.8078, allocations: 2.882 MB / 1.258 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.8122, allocations: 3.47 MB / 1.261 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008109/0.813, allocations: 0.5273 MB / 1.261 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.8152, allocations: 1.174 MB / 1.263 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.8172, allocations: 2.464 MB / 1.265 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.8196, allocations: 2.532 MB / 1.268 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.8268, allocations: 8.522 MB / 1.276 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.8269, allocations: 3.984 kB / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8269, allocations: 0 / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001639/0.827, allocations: 0 / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008034/0.8351, allocations: 4.435 MB / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.8351, allocations: 8.031 kB / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007458/0.8359, allocations: 0.5714 MB / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007765/0.8437, allocations: 1.677 MB / 1.282 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/0.8493, allocations: 2.7 MB / 1.285 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.8495, allocations: 279.7 kB / 1.285 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.8506, allocations: 368.3 kB / 1.286 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.8633, allocations: 7.483 MB / 1.293 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.8635, allocations: 15.88 kB / 1.293 GB, free: 5.215 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006664/0.8641, allocations: 159.9 kB / 1.293 GB, free: 5.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005212/0.8647, allocations: 483.4 kB / 1.294 GB, free: 4.586 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009026/0.8737, allocations: 5.701 MB / 1.299 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.9061, allocations: 31.49 MB / 1.33 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.9088, allocations: 2.093 MB / 1.332 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.9116, allocations: 2.186 MB / 1.334 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.9118, allocations: 21.31 kB / 1.334 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.9119, allocations: 43.88 kB / 1.334 GB, free: 8.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/0.9119, allocations: 3.938 kB / 1.334 GB, free: 8.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=251): time 0.2988/1.211, allocations: 77.02 MB / 1.409 GB, free: 11.08 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.211, allocations: 77.41 kB / 1.409 GB, free: 10.99 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.213, allocations: 1.677 MB / 1.411 GB, free: 9.27 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/1.214, allocations: 65.7 kB / 1.411 GB, free: 9.199 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.215, allocations: 1.743 MB / 1.413 GB, free: 7.434 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009258/1.216, allocations: 0.8549 MB / 1.414 GB, free: 6.566 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/1.217, allocations: 477.2 kB / 1.414 GB, free: 6.094 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/1.217, allocations: 305.1 kB / 1.414 GB, free: 5.793 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/1.22, allocations: 2.734 MB / 1.417 GB, free: 3.055 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.224, allocations: 3.328 MB / 1.42 GB, free: 15.48 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.232, allocations: 6.401 MB / 1.427 GB, free: 8.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/1.232, allocations: 4 kB / 1.427 GB, free: 8.836 MB / 1.154 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03157/1.264, allocations: 14.67 MB / 1.441 GB, free: 10.11 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.264, allocations: 14.03 kB / 1.441 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/1.264, allocations: 16 kB / 1.441 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02913/1.293, allocations: 9.24 MB / 1.45 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.294, allocations: 299.5 kB / 1.45 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07765/1.372, allocations: 52.34 MB / 1.501 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.375, allocations: 227.7 kB / 1.502 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005006/1.376, allocations: 100 kB / 1.502 GB, free: 10.98 MB / 1.232 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002917/1.379, allocations: 1.582 MB / 1.503 GB, free: 9.387 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/1.379, allocations: 245 kB / 1.503 GB, free: 9.145 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03188/1.411, allocations: 14.75 MB / 1.518 GB, free: 10.33 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.411, allocations: 24 kB / 1.518 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001533/1.411, allocations: 47.98 kB / 1.518 GB, free: 10.26 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.253e-05/1.411, allocations: 15.95 kB / 1.518 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04397/1.455, allocations: 20.5 MB / 1.538 GB, free: 5.535 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/1.456, allocations: 8 kB / 1.538 GB, free: 5.527 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/1.456, allocations: 163.7 kB / 1.538 GB, free: 5.367 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02901/1.485, allocations: 9.007 MB / 1.547 GB, free: 12.33 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/1.486, allocations: 51.94 kB / 1.547 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6785/2.164, allocations: 51.9 MB / 1.598 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.165, allocations: 7.812 kB / 1.598 GB, free: 313.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/2.191, allocations: 14.37 MB / 1.612 GB, free: 304.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/2.193, allocations: 0.8446 MB / 1.613 GB, free: 303.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/2.193, allocations: 54.86 kB / 1.613 GB, free: 303.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/2.195, allocations: 207.7 kB / 1.613 GB, free: 303.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/2.197, allocations: 240.5 kB / 1.613 GB, free: 303.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/2.197, allocations: 64 kB / 1.613 GB, free: 303 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001171/2.198, allocations: 1.125 MB / 1.614 GB, free: 301.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/2.198, allocations: 0 / 1.614 GB, free: 301.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00383/2.202, allocations: 1.622 MB / 1.616 GB, free: 300.2 MB / 1.279 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02603/2.228, allocations: 14.98 MB / 1.63 GB, free: 285.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01904/2.247, allocations: 10.55 MB / 1.641 GB, free: 274.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.247, allocations: 4 kB / 1.641 GB, free: 274.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0151/2.262, allocations: 7.318 MB / 1.648 GB, free: 267.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/2.265, allocations: 0.552 MB / 1.648 GB, free: 266.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08261/2.348, allocations: 50.82 MB / 1.698 GB, free: 214.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004207/2.352, allocations: 3.228 MB / 1.701 GB, free: 211.6 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001045/2.353, allocations: 387.3 kB / 1.702 GB, free: 211.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/2.355, allocations: 1.464 MB / 1.703 GB, free: 209.7 MB / 1.279 GB Notification: Performance of SimCode: time 7.22e-07/2.355, allocations: 0 / 1.703 GB, free: 209.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/2.504, allocations: 124 MB / 1.824 GB, free: 86.27 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/16.09, allocations: 8.5 kB / 1.824 GB, free: 86.26 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches