Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001421/0.001421, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001643/0.001643, allocations: 213.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003628/0.003628, allocations: 72.17 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.576, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007854/0.5838, allocations: 4.149 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004905/0.5887, allocations: 2.323 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.5892, allocations: 27.75 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.5905, allocations: 370.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.5917, allocations: 378.2 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.5927, allocations: 334 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009404/0.5936, allocations: 0.6791 MB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.594, allocations: 234.9 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.5945, allocations: 267 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.5949, allocations: 262.8 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.595, allocations: 32 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.5957, allocations: 387.1 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.5959, allocations: 151.5 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.5961, allocations: 195 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.5971, allocations: 0.7393 MB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5971, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5971, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5971, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001211/0.5983, allocations: 0.7226 MB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5983, allocations: 12.03 kB / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.5996, allocations: 204.2 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.6003, allocations: 369.6 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.6003, allocations: 25.38 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.6004, allocations: 36.36 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6015, allocations: 0.7263 MB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.6016, allocations: 7.938 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.6016, allocations: 20 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.6018, allocations: 47.97 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.6027, allocations: 499.3 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.6062, allocations: 3.149 MB / 1.341 GB, free: 1.301 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.608, allocations: 0.597 MB / 1.342 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.6082, allocations: 166.4 kB / 1.342 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.6083, allocations: 4 kB / 1.342 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.6083, allocations: 46.56 kB / 1.342 GB, free: 456 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.6083, allocations: 0 / 1.342 GB, free: 456 kB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002322/0.6106, allocations: 1.061 MB / 1.343 GB, free: 15.37 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.6107, allocations: 106.8 kB / 1.343 GB, free: 15.24 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.6111, allocations: 393.3 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.6112, allocations: 33.7 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6114, allocations: 288.1 kB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6115, allocations: 123 kB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.6117, allocations: 102.2 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.6119, allocations: 350.8 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.6122, allocations: 177.2 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.6128, allocations: 372.2 kB / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.6136, allocations: 0.5912 MB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6136, allocations: 4 kB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001131/0.6147, allocations: 0.6715 MB / 1.346 GB, free: 11.93 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6147, allocations: 11.94 kB / 1.346 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6147, allocations: 4 kB / 1.346 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.6151, allocations: 102.5 kB / 1.346 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.6155, allocations: 111.8 kB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.6194, allocations: 3.966 MB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.6197, allocations: 35.97 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.6198, allocations: 24 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.6201, allocations: 190.2 kB / 1.351 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6202, allocations: 51.66 kB / 1.351 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/0.6212, allocations: 0.5072 MB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6212, allocations: 12.09 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6212, allocations: 0 / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6212, allocations: 7.922 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.6231, allocations: 1.147 MB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6231, allocations: 8.031 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.6233, allocations: 67.83 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.6236, allocations: 94.72 kB / 1.353 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6237, allocations: 12 kB / 1.353 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/0.6276, allocations: 3.962 MB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6276, allocations: 7.938 kB / 1.356 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6287, allocations: 0.7779 MB / 1.357 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.6289, allocations: 79.7 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.6289, allocations: 8 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.6293, allocations: 23.97 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.6293, allocations: 39.83 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.6294, allocations: 15.98 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003298/0.6297, allocations: 259.2 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.6297, allocations: 0 / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007466/0.6304, allocations: 124 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.6306, allocations: 107.2 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.632, allocations: 0.7781 MB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.632, allocations: 0 / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007933/0.6328, allocations: 0.5356 MB / 1.359 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.6337, allocations: 134 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.6353, allocations: 0.9243 MB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.6356, allocations: 256.2 kB / 1.36 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.6359, allocations: 104.3 kB / 1.36 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.636, allocations: 35.42 kB / 1.36 GB, free: 12.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.636, allocations: 0 / 1.36 GB, free: 12.48 MB / 1.061 GB Notification: Performance of Templates: time 0.01365/0.6496, allocations: 6.409 MB / 1.367 GB, free: 6.211 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 9.876268148422241]