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.001409/0.001409, allocations: 118.9 kB / 17.13 MB, free: 6.027 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.001445/0.001445, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.034/3.034, allocations: 0.49 GB / 0.7923 GB, free: 1.363 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.002038/0.002038, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005095/1.125, allocations: 4.344 MB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003773/1.129, allocations: 2.441 MB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/1.129, allocations: 24.53 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/1.13, allocations: 371.5 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/1.131, allocations: 382.2 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/1.132, allocations: 325.9 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001338/1.133, allocations: 0.6792 MB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/1.134, allocations: 211.4 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/1.135, allocations: 269.7 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/1.136, allocations: 291.3 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/1.136, allocations: 29.94 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/1.137, allocations: 440.4 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/1.138, allocations: 149.7 kB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/1.138, allocations: 232.8 kB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/1.14, allocations: 0.7427 MB / 1.333 GB, free: 18.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.14, allocations: 1.344 kB / 1.333 GB, free: 18.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.334e-06/1.14, allocations: 0 / 1.333 GB, free: 18.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.14, allocations: 0 / 1.333 GB, free: 18.55 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001392/1.141, allocations: 0.8031 MB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.141, allocations: 12.61 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.143, allocations: 183.6 kB / 1.334 GB, free: 17.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/1.143, allocations: 450.5 kB / 1.334 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/1.144, allocations: 23.53 kB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/1.144, allocations: 34 kB / 1.334 GB, free: 17.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.145, allocations: 0.6528 MB / 1.335 GB, free: 17.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.145, allocations: 1.875 kB / 1.335 GB, free: 17.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/1.145, allocations: 22.66 kB / 1.335 GB, free: 17.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/1.145, allocations: 57.55 kB / 1.335 GB, free: 17.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/1.146, allocations: 492.8 kB / 1.335 GB, free: 16.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/1.149, allocations: 3.804 MB / 1.339 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/1.151, allocations: 0.6005 MB / 1.34 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/1.151, allocations: 165.4 kB / 1.34 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/1.151, allocations: 7.578 kB / 1.34 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/1.151, allocations: 38.88 kB / 1.34 GB, free: 13.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 3.076e-06/1.151, allocations: 0 / 1.34 GB, free: 13.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.00249/1.154, allocations: 1.297 MB / 1.341 GB, free: 12.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/1.154, allocations: 107 kB / 1.341 GB, free: 12.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/1.154, allocations: 399.6 kB / 1.341 GB, free: 12.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/1.154, allocations: 31.05 kB / 1.341 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/1.155, allocations: 291.8 kB / 1.342 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/1.155, allocations: 117.2 kB / 1.342 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.155, allocations: 100.7 kB / 1.342 GB, free: 11.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.155, allocations: 351.5 kB / 1.342 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/1.155, allocations: 178.1 kB / 1.342 GB, free: 11.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/1.156, allocations: 379.2 kB / 1.343 GB, free: 10.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/1.156, allocations: 0.5863 MB / 1.343 GB, free: 10.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.156, allocations: 6.5 kB / 1.343 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001147/1.157, allocations: 0.673 MB / 1.344 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.157, allocations: 7.75 kB / 1.344 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.157, allocations: 11.39 kB / 1.344 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/1.158, allocations: 102.1 kB / 1.344 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/1.158, allocations: 113.4 kB / 1.344 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/1.161, allocations: 4.353 MB / 1.349 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/1.162, allocations: 31.95 kB / 1.349 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/1.162, allocations: 25.06 kB / 1.349 GB, free: 5.879 MB / 1.061 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.0002587/1.162, allocations: 195.8 kB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/1.162, allocations: 48.33 kB / 1.349 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.163, allocations: 0.5242 MB / 1.349 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.163, allocations: 4.312 kB / 1.349 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.163, allocations: 1.719 kB / 1.349 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.163, allocations: 6.781 kB / 1.349 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/1.165, allocations: 1.288 MB / 1.351 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.165, allocations: 2.656 kB / 1.351 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/1.165, allocations: 60.67 kB / 1.351 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/1.166, allocations: 93.92 kB / 1.351 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/1.166, allocations: 8.5 kB / 1.351 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/1.168, allocations: 4.332 MB / 1.355 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.168, allocations: 3.438 kB / 1.355 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.169, allocations: 0.7968 MB / 1.356 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/1.17, allocations: 148.4 kB / 1.356 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/1.17, allocations: 14.7 kB / 1.356 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/1.17, allocations: 21.61 kB / 1.356 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/1.17, allocations: 38.56 kB / 1.356 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.17, allocations: 14.19 kB / 1.356 GB, free: 15.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000417/1.17, allocations: 277 kB / 1.356 GB, free: 15.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.17, allocations: 0.9062 kB / 1.356 GB, free: 15.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008764/1.171, allocations: 120.3 kB / 1.356 GB, free: 15.45 MB / 1.076 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.0001961/1.172, allocations: 122.7 kB / 1.357 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.173, allocations: 0.7825 MB / 1.357 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.173, allocations: 1.062 kB / 1.357 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/1.174, allocations: 0.5257 MB / 1.358 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/1.175, allocations: 139.2 kB / 1.358 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/1.177, allocations: 0.9608 MB / 1.359 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/1.178, allocations: 0.8605 MB / 1.36 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/1.178, allocations: 43.92 kB / 1.36 GB, free: 13.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.172e-06/1.178, allocations: 1.344 kB / 1.36 GB, free: 13.1 MB / 1.076 GB Notification: Performance of Templates: time 0.02221/1.2, allocations: 11.16 MB / 1.371 GB, free: 12.22 MB / 1.076 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/jenkins1/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: 14.070262470006128]