Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.839/0.839, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.706/1.706, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.464e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02098/0.02099, allocations: 31.1 MB / 1.03 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.435/0.456, allocations: 14.29 MB / 1.044 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.4589, allocations: 215.5 kB / 1.044 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.4629, allocations: 3.675 MB / 1.048 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.4675, allocations: 3.073 MB / 1.051 GB, free: 48.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.4706, allocations: 2.357 MB / 1.053 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005302/0.4759, allocations: 9.008 MB / 1.062 GB, free: 47.34 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/0.4803, allocations: 5.505 MB / 1.067 GB, free: 45.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.4851, allocations: 5.69 MB / 1.073 GB, free: 42.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.4879, allocations: 3.661 MB / 1.076 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009496/0.4888, allocations: 0.7109 MB / 1.077 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.4909, allocations: 1.626 MB / 1.079 GB, free: 41.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.4925, allocations: 3.021 MB / 1.082 GB, free: 40.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.4947, allocations: 2.359 MB / 1.084 GB, free: 39.58 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.5058, allocations: 11.37 MB / 1.095 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5058, allocations: 0.6562 kB / 1.095 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.083e-06/0.5058, allocations: 4 kB / 1.095 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002752/0.5061, allocations: 0 / 1.095 GB, free: 36.33 MB / 0.9948 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.0103/0.5164, allocations: 5.982 MB / 1.101 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5165, allocations: 10.73 kB / 1.101 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008427/0.5173, allocations: 0.7265 MB / 1.102 GB, free: 32.67 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.5213, allocations: 1.179 MB / 1.103 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.5261, allocations: 3.449 MB / 1.106 GB, free: 30.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.5263, allocations: 373.4 kB / 1.106 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005538/0.5268, allocations: 498.7 kB / 1.107 GB, free: 30.42 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009546/0.5364, allocations: 8.702 MB / 1.115 GB, free: 26.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.225e-05/0.5365, allocations: 21.64 kB / 1.115 GB, free: 26.29 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004074/0.5369, allocations: 217.6 kB / 1.116 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006508/0.5375, allocations: 443 kB / 1.116 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/0.5452, allocations: 6.072 MB / 1.122 GB, free: 24.03 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.5649, allocations: 22.03 MB / 1.144 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5666, allocations: 1.904 MB / 1.145 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.5682, allocations: 1.747 MB / 1.147 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/0.5683, allocations: 18.12 kB / 1.147 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5683, allocations: 53.25 kB / 1.147 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 3.336e-06/0.5683, allocations: 1.062 kB / 1.147 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.0735/0.6418, allocations: 38.7 MB / 1.185 GB, free: 12.47 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.6418, allocations: 81.58 kB / 1.185 GB, free: 12.38 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.6441, allocations: 2.32 MB / 1.187 GB, free: 10.04 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.6442, allocations: 77.64 kB / 1.187 GB, free: 9.961 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.6452, allocations: 2.334 MB / 1.19 GB, free: 7.613 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/0.6457, allocations: 0.9664 MB / 1.191 GB, free: 6.66 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/0.6463, allocations: 0.5024 MB / 1.191 GB, free: 6.148 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.6464, allocations: 304.2 kB / 1.191 GB, free: 5.852 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.6483, allocations: 1.984 MB / 1.193 GB, free: 3.867 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.6505, allocations: 2.602 MB / 1.196 GB, free: 1.023 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.6548, allocations: 4.925 MB / 1.201 GB, free: 11.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6548, allocations: 8 kB / 1.201 GB, free: 11.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008657/0.6635, allocations: 7.656 MB / 1.208 GB, free: 4.098 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6635, allocations: 12 kB / 1.208 GB, free: 4.086 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.6635, allocations: 16 kB / 1.208 GB, free: 4.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005023/0.6685, allocations: 3.213 MB / 1.211 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.6694, allocations: 395.4 kB / 1.212 GB, free: 468 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/0.6968, allocations: 32.74 MB / 1.244 GB, free: 15.05 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.6989, allocations: 163.8 kB / 1.244 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.6991, allocations: 108 kB / 1.244 GB, free: 14.79 MB / 1.089 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.002784/0.7019, allocations: 1.801 MB / 1.246 GB, free: 12.97 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.7022, allocations: 345.9 kB / 1.246 GB, free: 12.63 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008188/0.7104, allocations: 7.243 MB / 1.253 GB, free: 5.309 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.7104, allocations: 27.98 kB / 1.253 GB, free: 5.281 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/0.7105, allocations: 32.56 kB / 1.253 GB, free: 5.25 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.7105, allocations: 11.95 kB / 1.253 GB, free: 5.238 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.725, allocations: 12.14 MB / 1.265 GB, free: 8.98 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.725, allocations: 8.844 kB / 1.265 GB, free: 8.973 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.7255, allocations: 233.5 kB / 1.265 GB, free: 8.746 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/0.73, allocations: 2.85 MB / 1.268 GB, free: 5.879 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.7302, allocations: 52 kB / 1.268 GB, free: 5.828 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02628/0.7565, allocations: 31.53 MB / 1.299 GB, free: 5.617 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.7565, allocations: 12.81 kB / 1.299 GB, free: 5.605 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/0.7657, allocations: 6.779 MB / 1.306 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/0.7678, allocations: 0.7263 MB / 1.306 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005379/0.7683, allocations: 52 kB / 1.306 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7699, allocations: 167.8 kB / 1.306 GB, free: 13.67 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007533/0.7706, allocations: 265.3 kB / 1.307 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.7708, allocations: 72 kB / 1.307 GB, free: 13.34 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001774/0.7725, allocations: 1.533 MB / 1.308 GB, free: 11.81 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7725, allocations: 3.938 kB / 1.308 GB, free: 11.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00408/0.7766, allocations: 1.371 MB / 1.31 GB, free: 10.43 MB / 1.151 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.008405/0.785, allocations: 7.396 MB / 1.317 GB, free: 2.812 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008614/0.7936, allocations: 6.554 MB / 1.323 GB, free: 12.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.7937, allocations: 4 kB / 1.323 GB, free: 12.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005452/0.7991, allocations: 4.24 MB / 1.327 GB, free: 7.883 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.8031, allocations: 1.114 MB / 1.328 GB, free: 6.797 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05533/0.8584, allocations: 39.19 MB / 1.367 GB, free: 14.51 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/0.8627, allocations: 3.112 MB / 1.37 GB, free: 11.36 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001755/0.8644, allocations: 0.5595 MB / 1.37 GB, free: 10.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.8665, allocations: 1.976 MB / 1.372 GB, free: 8.82 MB / 1.214 GB Notification: Performance of SimCode: time 1.774e-06/0.8665, allocations: 0 / 1.372 GB, free: 8.82 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.006, allocations: 118.8 MB / 1.488 GB, free: 3.648 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/10.5, allocations: 19.8 kB / 1.488 GB, free: 3.629 MB / 1.323 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 14.818974228575826]