Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008861/0.0008861, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009886/0.0009886, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8927/0.8927, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.689/1.689, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.073e-05, allocations: 2.281 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02237/0.02239, allocations: 31.11 MB / 1.011 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.03822, allocations: 14.29 MB / 1.025 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.04113, allocations: 210.4 kB / 1.026 GB, free: 4.855 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005655/0.04679, allocations: 3.683 MB / 1.029 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.05327, allocations: 3.071 MB / 1.032 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.05785, allocations: 2.367 MB / 1.034 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008433/0.06629, allocations: 9.001 MB / 1.043 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4176/0.4839, allocations: 5.501 MB / 1.049 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.492, allocations: 5.677 MB / 1.054 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.497, allocations: 3.668 MB / 1.058 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.4989, allocations: 0.7136 MB / 1.058 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.5025, allocations: 1.631 MB / 1.06 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003588/0.506, allocations: 3.017 MB / 1.063 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005713/0.5118, allocations: 2.364 MB / 1.065 GB, free: 51.71 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.5251, allocations: 11.37 MB / 1.076 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5251, allocations: 0.5312 kB / 1.076 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5251, allocations: 0.9688 kB / 1.076 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003866/0.5255, allocations: 0.5 kB / 1.076 GB, free: 51.08 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.01686/0.5424, allocations: 5.987 MB / 1.082 GB, free: 48.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5424, allocations: 9.844 kB / 1.082 GB, free: 48.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002804/0.5452, allocations: 0.7231 MB / 1.083 GB, free: 48.62 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/0.551, allocations: 1.174 MB / 1.084 GB, free: 48.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.5586, allocations: 3.455 MB / 1.087 GB, free: 46.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.5589, allocations: 375.1 kB / 1.088 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.5608, allocations: 0.491 MB / 1.088 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.5789, allocations: 8.701 MB / 1.097 GB, free: 42.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/0.5791, allocations: 23.95 kB / 1.097 GB, free: 42.24 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.5806, allocations: 217.6 kB / 1.097 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000732/0.5814, allocations: 435.1 kB / 1.097 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.5937, allocations: 6.075 MB / 1.103 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.6268, allocations: 22.02 MB / 1.125 GB, free: 26.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.629, allocations: 1.902 MB / 1.127 GB, free: 26.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.6308, allocations: 1.751 MB / 1.128 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.631, allocations: 22.34 kB / 1.128 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.631, allocations: 57.31 kB / 1.128 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 4.348e-06/0.631, allocations: 0 / 1.128 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.07497/0.706, allocations: 38.71 MB / 1.166 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.706, allocations: 77.58 kB / 1.166 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.7082, allocations: 2.32 MB / 1.169 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004266/0.7086, allocations: 77.7 kB / 1.169 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.7093, allocations: 2.331 MB / 1.171 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.7098, allocations: 0.9661 MB / 1.172 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/0.7104, allocations: 0.5063 MB / 1.172 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.544e-05/0.7104, allocations: 301.1 kB / 1.173 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7121, allocations: 1.977 MB / 1.175 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.7141, allocations: 2.601 MB / 1.177 GB, free: 15.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005033/0.7191, allocations: 4.924 MB / 1.182 GB, free: 10.35 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.7192, allocations: 8.5 kB / 1.182 GB, free: 10.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01029/0.7294, allocations: 7.658 MB / 1.189 GB, free: 2.824 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.7295, allocations: 18.33 kB / 1.189 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.7295, allocations: 20.16 kB / 1.19 GB, free: 2.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/0.7352, allocations: 3.205 MB / 1.193 GB, free: 15.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7363, allocations: 405.6 kB / 1.193 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/0.7671, allocations: 32.73 MB / 1.225 GB, free: 13.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.7696, allocations: 171.8 kB / 1.225 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/0.77, allocations: 108 kB / 1.225 GB, free: 13.61 MB / 1.057 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.002953/0.773, allocations: 1.797 MB / 1.227 GB, free: 11.83 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009499/0.7739, allocations: 345.9 kB / 1.227 GB, free: 11.49 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009211/0.7831, allocations: 7.241 MB / 1.234 GB, free: 4.273 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.7831, allocations: 27.98 kB / 1.234 GB, free: 4.246 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/0.7832, allocations: 39.98 kB / 1.234 GB, free: 4.207 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.651e-05/0.7832, allocations: 11.95 kB / 1.234 GB, free: 4.195 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.8008, allocations: 12.15 MB / 1.246 GB, free: 8.078 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.8009, allocations: 4 kB / 1.246 GB, free: 8.074 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.8015, allocations: 230.3 kB / 1.247 GB, free: 7.859 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005061/0.8065, allocations: 2.849 MB / 1.249 GB, free: 4.996 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003249/0.8068, allocations: 52 kB / 1.249 GB, free: 4.945 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02885/0.8357, allocations: 31.53 MB / 1.28 GB, free: 4.809 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.8357, allocations: 12.12 kB / 1.28 GB, free: 4.801 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008935/0.8446, allocations: 6.768 MB / 1.287 GB, free: 13.93 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.8465, allocations: 0.738 MB / 1.288 GB, free: 13.19 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/0.8471, allocations: 52 kB / 1.288 GB, free: 13.14 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.8485, allocations: 171.8 kB / 1.288 GB, free: 12.97 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000693/0.8492, allocations: 264 kB / 1.288 GB, free: 12.72 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8493, allocations: 76 kB / 1.288 GB, free: 12.65 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001769/0.8511, allocations: 1.527 MB / 1.29 GB, free: 11.12 MB / 1.12 GB Notification: Performance of sort global known variables: time 3e-07/0.8511, allocations: 1.594 kB / 1.29 GB, free: 11.12 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.004202/0.8553, allocations: 1.371 MB / 1.291 GB, free: 9.75 MB / 1.12 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.009032/0.8643, allocations: 7.405 MB / 1.298 GB, free: 2.25 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.008075/0.8724, allocations: 6.54 MB / 1.305 GB, free: 11.73 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.8724, allocations: 3.953 kB / 1.305 GB, free: 11.72 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.005604/0.878, allocations: 4.249 MB / 1.309 GB, free: 7.426 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/0.8823, allocations: 1.117 MB / 1.31 GB, free: 6.352 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05603/0.9384, allocations: 39.21 MB / 1.348 GB, free: 14.39 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/0.9423, allocations: 3.108 MB / 1.351 GB, free: 11.25 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001609/0.9439, allocations: 0.5556 MB / 1.352 GB, free: 10.69 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/0.946, allocations: 1.98 MB / 1.354 GB, free: 8.707 MB / 1.182 GB Notification: Performance of SimCode: time 1.523e-06/0.946, allocations: 0 / 1.354 GB, free: 8.707 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.085, allocations: 118.8 MB / 1.47 GB, free: 3.883 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.541/10.63, allocations: 10.16 kB / 1.47 GB, free: 3.879 MB / 1.292 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.974187495186925]