Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.91 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7266, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03729/0.7638, allocations: 36.8 MB / 1.307 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.7812, allocations: 10.31 MB / 1.317 GB, free: 8.402 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.7844, allocations: 144.5 kB / 1.318 GB, free: 8.359 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009394/0.7938, allocations: 3.948 MB / 1.321 GB, free: 6.039 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.8, allocations: 2.151 MB / 1.323 GB, free: 4.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.8056, allocations: 2.03 MB / 1.325 GB, free: 3.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.8163, allocations: 7.961 MB / 1.333 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007296/0.8235, allocations: 4.896 MB / 1.338 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005782/0.8293, allocations: 3.431 MB / 1.341 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007608/0.8369, allocations: 3.936 MB / 1.345 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.8389, allocations: 0.6782 MB / 1.346 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.843, allocations: 1.466 MB / 1.347 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003592/0.8466, allocations: 2.683 MB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005433/0.8521, allocations: 3.109 MB / 1.353 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.8646, allocations: 10.41 MB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8646, allocations: 1.469 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8646, allocations: 0 / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002331/0.8648, allocations: 0 / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01181/0.8766, allocations: 5.534 MB / 1.369 GB, free: 11.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.8766, allocations: 9.375 kB / 1.369 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.8777, allocations: 0.696 MB / 1.369 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.8822, allocations: 0.9961 MB / 1.37 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005247/0.8875, allocations: 3.192 MB / 1.373 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.8878, allocations: 361.9 kB / 1.374 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006958/0.8884, allocations: 464.5 kB / 1.374 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.9006, allocations: 7.915 MB / 1.382 GB, free: 2.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-05/0.9007, allocations: 16.41 kB / 1.382 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/0.9011, allocations: 215.4 kB / 1.382 GB, free: 2.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00049/0.9016, allocations: 374 kB / 1.382 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009508/0.9111, allocations: 5.939 MB / 1.388 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/0.9463, allocations: 36 MB / 1.423 GB, free: 5.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.9493, allocations: 1.998 MB / 1.425 GB, free: 3.562 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.951, allocations: 1.332 MB / 1.427 GB, free: 2.23 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.9511, allocations: 25.28 kB / 1.427 GB, free: 2.207 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.9511, allocations: 55.81 kB / 1.427 GB, free: 2.145 MB / 1.107 GB Notification: Performance of pre-optimization done (n=157): time 3.206e-06/0.9511, allocations: 0 / 1.427 GB, free: 2.145 MB / 1.107 GB Notification: Performance of matching and sorting (n=160): time 0.01313/0.9643, allocations: 7.571 MB / 1.434 GB, free: 10.31 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.9643, allocations: 72.72 kB / 1.434 GB, free: 10.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.9665, allocations: 1.86 MB / 1.436 GB, free: 8.34 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.9666, allocations: 53.7 kB / 1.436 GB, free: 8.281 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.9681, allocations: 2.188 MB / 1.438 GB, free: 6.074 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.9685, allocations: 0.5849 MB / 1.439 GB, free: 5.484 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005903/0.9691, allocations: 408 kB / 1.439 GB, free: 5.078 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9692, allocations: 305.1 kB / 1.439 GB, free: 4.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.9707, allocations: 1.055 MB / 1.44 GB, free: 3.719 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.9728, allocations: 1.772 MB / 1.442 GB, free: 1.629 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.9765, allocations: 3.041 MB / 1.445 GB, free: 14.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.9765, allocations: 8 kB / 1.445 GB, free: 14.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006052/0.9825, allocations: 3.914 MB / 1.449 GB, free: 10.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.9826, allocations: 16 kB / 1.449 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.9826, allocations: 20 kB / 1.449 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.9849, allocations: 0.9278 MB / 1.45 GB, free: 9.305 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.9863, allocations: 435.2 kB / 1.45 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/1.007, allocations: 22.76 MB / 1.473 GB, free: 444 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/1.009, allocations: 123.9 kB / 1.473 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.009, allocations: 96 kB / 1.473 GB, free: 224 kB / 1.154 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002693/1.012, allocations: 1.656 MB / 1.474 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/1.012, allocations: 266.4 kB / 1.475 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/1.017, allocations: 3.236 MB / 1.478 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.017, allocations: 16 kB / 1.478 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.017, allocations: 8 kB / 1.478 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.017, allocations: 7.969 kB / 1.478 GB, free: 10.97 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/1.029, allocations: 7.529 MB / 1.485 GB, free: 3.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.029, allocations: 4 kB / 1.485 GB, free: 3.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/1.03, allocations: 219.6 kB / 1.485 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/1.032, allocations: 0.8923 MB / 1.486 GB, free: 2.137 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.032, allocations: 35.98 kB / 1.486 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/1.052, allocations: 22.74 MB / 1.509 GB, free: 9.68 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.052, allocations: 7.938 kB / 1.509 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/1.058, allocations: 3.369 MB / 1.512 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.059, allocations: 0.5384 MB / 1.512 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/1.059, allocations: 35.94 kB / 1.512 GB, free: 5.598 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.06, allocations: 87.89 kB / 1.512 GB, free: 5.512 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.061, allocations: 144.9 kB / 1.513 GB, free: 5.371 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/1.061, allocations: 48 kB / 1.513 GB, free: 5.324 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001576/1.062, allocations: 1.221 MB / 1.514 GB, free: 4.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 4 kB / 1.514 GB, free: 4.086 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002601/1.065, allocations: 0.9062 MB / 1.515 GB, free: 3.18 MB / 1.201 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005284/1.07, allocations: 3.973 MB / 1.519 GB, free: 15.09 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006099/1.076, allocations: 4.295 MB / 1.523 GB, free: 10.64 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.076, allocations: 4 kB / 1.523 GB, free: 10.63 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.08, allocations: 2.902 MB / 1.526 GB, free: 7.574 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.083, allocations: 0.8318 MB / 1.526 GB, free: 6.758 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03603/1.119, allocations: 25.24 MB / 1.551 GB, free: 12.41 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/1.123, allocations: 3.209 MB / 1.554 GB, free: 9.172 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001488/1.124, allocations: 0.5254 MB / 1.555 GB, free: 8.641 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.126, allocations: 1.651 MB / 1.556 GB, free: 6.988 MB / 1.248 GB Notification: Performance of SimCode: time 1.142e-06/1.126, allocations: 0 / 1.556 GB, free: 6.988 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/1.27, allocations: 71.08 MB / 1.626 GB, free: 0.7188 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.05, allocations: 11.11 kB / 1.626 GB, free: 0.7109 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.50907247199939]