Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002181/0.002181, 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.002979/0.002979, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.958/2.958, allocations: 475.9 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00216/0.00216, allocations: 65.28 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3217, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006852/0.3286, allocations: 4.147 MB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3328, allocations: 2.323 MB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.3331, allocations: 23.75 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.3343, allocations: 374.3 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008683/0.3351, allocations: 386.2 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.3359, allocations: 321 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008202/0.3368, allocations: 0.6829 MB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.3372, allocations: 230.1 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.3376, allocations: 267 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.338, allocations: 266.8 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.338, allocations: 31.94 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.3387, allocations: 383.1 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3388, allocations: 155.4 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.3391, allocations: 195 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.34, allocations: 0.7315 MB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.34, allocations: 4 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.34, allocations: 3.938 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.34, allocations: 0 / 1.293 GB, free: 1.453 MB / 0.9825 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.001191/0.3412, allocations: 0.7265 MB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3412, allocations: 8.031 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3425, allocations: 192.4 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.3432, allocations: 377.5 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.3433, allocations: 25.38 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3433, allocations: 32.36 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.3443, allocations: 0.7263 MB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3443, allocations: 11.94 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.3444, allocations: 12 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3445, allocations: 59.89 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.3453, allocations: 495.3 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.3485, allocations: 3.145 MB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.3503, allocations: 0.609 MB / 1.299 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.3505, allocations: 166.5 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3506, allocations: 4 kB / 1.3 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3506, allocations: 42.48 kB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.3506, allocations: 0 / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002222/0.3528, allocations: 1.053 MB / 1.301 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.3529, allocations: 118.8 kB / 1.301 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.3533, allocations: 385.3 kB / 1.301 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3533, allocations: 29.7 kB / 1.301 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3536, allocations: 288.1 kB / 1.301 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3537, allocations: 126.9 kB / 1.302 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3538, allocations: 102.2 kB / 1.302 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.354, allocations: 350.8 kB / 1.302 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.3543, allocations: 177.1 kB / 1.302 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.3547, allocations: 384.1 kB / 1.303 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.3555, allocations: 0.5796 MB / 1.303 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3555, allocations: 4.281 kB / 1.303 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001129/0.3566, allocations: 0.6791 MB / 1.304 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3566, allocations: 8 kB / 1.304 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3566, allocations: 11.94 kB / 1.304 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.357, allocations: 86.52 kB / 1.304 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3574, allocations: 119.7 kB / 1.304 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.3609, allocations: 3.977 MB / 1.308 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3613, allocations: 31.97 kB / 1.308 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3613, allocations: 24 kB / 1.308 GB, free: 1.422 MB / 0.9981 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.0002516/0.3616, allocations: 194.9 kB / 1.308 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3617, allocations: 55.66 kB / 1.308 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.3626, allocations: 0.5072 MB / 1.309 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3626, allocations: 7.938 kB / 1.309 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3626, allocations: 0 / 1.309 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3626, allocations: 11.92 kB / 1.309 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3644, allocations: 1.15 MB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3645, allocations: 4 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3647, allocations: 56.19 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.365, allocations: 94.5 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.365, allocations: 12 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.3686, allocations: 3.957 MB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3686, allocations: 4.031 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3696, allocations: 0.784 MB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.3698, allocations: 75.56 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.3699, allocations: 19.94 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.3702, allocations: 19.97 kB / 1.315 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.3702, allocations: 39.83 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.3703, allocations: 8 kB / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002881/0.3706, allocations: 259.2 kB / 1.315 GB, free: 9.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 1.315 GB, free: 9.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006757/0.3712, allocations: 124 kB / 1.315 GB, free: 9.582 MB / 1.014 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.0001532/0.3714, allocations: 115.2 kB / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.3727, allocations: 0.7787 MB / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3727, allocations: 0 / 1.316 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.3735, allocations: 0.5318 MB / 1.317 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.3743, allocations: 137.3 kB / 1.317 GB, free: 7.949 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3759, allocations: 0.9169 MB / 1.318 GB, free: 6.969 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3762, allocations: 268.1 kB / 1.318 GB, free: 6.684 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.3765, allocations: 96.34 kB / 1.318 GB, free: 6.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.3766, allocations: 31.44 kB / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.3766, allocations: 0 / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of Templates: time 0.01331/0.3899, allocations: 6.402 MB / 1.324 GB, free: 296 kB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.526126744225621]