Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 181.5 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.27/3.27, allocations: 0.4893 GB / 0.7884 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 65.39 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3795, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006613/0.3862, allocations: 4.439 MB / 1.32 GB, free: 5.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.3904, allocations: 2.455 MB / 1.323 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.3906, allocations: 27.75 kB / 1.323 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3918, allocations: 382.3 kB / 1.323 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008338/0.3926, allocations: 390.1 kB / 1.324 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.3934, allocations: 322.7 kB / 1.324 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.3942, allocations: 0.6752 MB / 1.324 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.3946, allocations: 198.3 kB / 1.325 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.3949, allocations: 274.9 kB / 1.325 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.3954, allocations: 282.8 kB / 1.325 GB, free: 244 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.3954, allocations: 28 kB / 1.325 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.3961, allocations: 447 kB / 1.326 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3963, allocations: 139.6 kB / 1.326 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3965, allocations: 246.6 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009239/0.3975, allocations: 0.7277 MB / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3975, allocations: 0 / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3975, allocations: 0 / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.3975, allocations: 4 kB / 1.327 GB, free: 14.66 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.001312/0.3988, allocations: 0.7381 MB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3988, allocations: 8.031 kB / 1.327 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.4002, allocations: 188.4 kB / 1.328 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.4008, allocations: 369.7 kB / 1.328 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4008, allocations: 25.36 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.4009, allocations: 28.38 kB / 1.328 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.4019, allocations: 0.6626 MB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4019, allocations: 7.938 kB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.4019, allocations: 15.98 kB / 1.329 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.402, allocations: 47.97 kB / 1.329 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.4028, allocations: 0.4999 MB / 1.329 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.4067, allocations: 3.737 MB / 1.333 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.4084, allocations: 0.6093 MB / 1.333 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.4086, allocations: 170.4 kB / 1.334 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.4087, allocations: 4 kB / 1.334 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4087, allocations: 34.56 kB / 1.334 GB, free: 7.094 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.4087, allocations: 4 kB / 1.334 GB, free: 7.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002211/0.4109, allocations: 1.065 MB / 1.335 GB, free: 6.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.411, allocations: 114.8 kB / 1.335 GB, free: 5.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.4114, allocations: 393.9 kB / 1.335 GB, free: 5.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.4115, allocations: 33.7 kB / 1.335 GB, free: 5.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4117, allocations: 292.1 kB / 1.336 GB, free: 5.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4118, allocations: 119 kB / 1.336 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4119, allocations: 102.2 kB / 1.336 GB, free: 4.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4121, allocations: 354.8 kB / 1.336 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.4124, allocations: 177.2 kB / 1.336 GB, free: 4.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.4129, allocations: 380.1 kB / 1.337 GB, free: 3.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/0.4137, allocations: 0.5951 MB / 1.337 GB, free: 3.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.4137, allocations: 7.938 kB / 1.337 GB, free: 3.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001144/0.4148, allocations: 0.6711 MB / 1.338 GB, free: 2.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4149, allocations: 8 kB / 1.338 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.4149, allocations: 11.97 kB / 1.338 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.4152, allocations: 103 kB / 1.338 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.4156, allocations: 115.8 kB / 1.338 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.4194, allocations: 4.023 MB / 1.342 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4197, allocations: 27.98 kB / 1.342 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.4197, allocations: 27.98 kB / 1.342 GB, free: 13.88 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.0002595/0.42, allocations: 201.7 kB / 1.342 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4201, allocations: 55.67 kB / 1.342 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/0.4211, allocations: 0.5227 MB / 1.343 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4211, allocations: 4 kB / 1.343 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4211, allocations: 0 / 1.343 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4211, allocations: 0 / 1.343 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.423, allocations: 1.26 MB / 1.344 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.423, allocations: 4.094 kB / 1.344 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.4232, allocations: 63.84 kB / 1.344 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/0.4235, allocations: 90.44 kB / 1.344 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4235, allocations: 8 kB / 1.344 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.4271, allocations: 4.041 MB / 1.348 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4271, allocations: 7.969 kB / 1.348 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/0.4281, allocations: 0.7701 MB / 1.349 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4283, allocations: 75.67 kB / 1.349 GB, free: 6.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.4283, allocations: 19.95 kB / 1.349 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.4286, allocations: 23.97 kB / 1.349 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.4287, allocations: 35.83 kB / 1.349 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4287, allocations: 16 kB / 1.349 GB, free: 6.172 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00033/0.4291, allocations: 279.1 kB / 1.349 GB, free: 5.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4291, allocations: 0 / 1.349 GB, free: 5.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006756/0.4297, allocations: 123.9 kB / 1.349 GB, free: 5.781 MB / 1.045 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.0001608/0.4299, allocations: 123.6 kB / 1.35 GB, free: 5.648 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.4312, allocations: 0.7703 MB / 1.35 GB, free: 4.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4312, allocations: 0 / 1.35 GB, free: 4.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.4319, allocations: 0.5319 MB / 1.351 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.4328, allocations: 138.6 kB / 1.351 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.4344, allocations: 0.9243 MB / 1.352 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.4349, allocations: 0.8586 MB / 1.353 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.4352, allocations: 100.5 kB / 1.353 GB, free: 2.164 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4353, allocations: 39.42 kB / 1.353 GB, free: 2.125 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4353, allocations: 0 / 1.353 GB, free: 2.125 MB / 1.045 GB Notification: Performance of Templates: time 0.0124/0.4477, allocations: 6.166 MB / 1.359 GB, free: 12.02 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.248931295238435]