Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001783/0.001783, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002023/0.002023, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.476/1.476, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 1.061 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9987/1.001, allocations: 160.7 MB / 1.218 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01657/1.017, allocations: 11.6 MB / 1.23 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01141/1.029, allocations: 5.981 MB / 1.235 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/1.03, allocations: 51.69 kB / 1.235 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005049/1.035, allocations: 1.789 MB / 1.237 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/1.039, allocations: 1.182 MB / 1.238 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/1.042, allocations: 0.8229 MB / 1.239 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003973/1.046, allocations: 2.127 MB / 1.241 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/1.048, allocations: 0.8992 MB / 1.242 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/1.051, allocations: 0.8523 MB / 1.243 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.053, allocations: 0.961 MB / 1.244 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006262/1.054, allocations: 120 kB / 1.244 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.058, allocations: 1.208 MB / 1.245 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/1.059, allocations: 0.5412 MB / 1.246 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002092/1.061, allocations: 0.781 MB / 1.246 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00589/1.067, allocations: 2.44 MB / 1.249 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/1.067, allocations: 4 kB / 1.249 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.422e-06/1.067, allocations: 0 / 1.249 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001199/1.067, allocations: 0 / 1.249 GB, free: 8.125 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005162/1.072, allocations: 1.915 MB / 1.251 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.072, allocations: 16.91 kB / 1.251 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/1.077, allocations: 0.6708 MB / 1.251 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.079, allocations: 1.013 MB / 1.252 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/1.079, allocations: 94.89 kB / 1.252 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/1.079, allocations: 132.3 kB / 1.253 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/1.083, allocations: 2.214 MB / 1.255 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/1.083, allocations: 7.938 kB / 1.255 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.083, allocations: 59.97 kB / 1.255 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/1.083, allocations: 162.3 kB / 1.255 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/1.086, allocations: 1.871 MB / 1.257 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/1.101, allocations: 12.44 MB / 1.269 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/1.106, allocations: 1.886 MB / 1.271 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000895/1.106, allocations: 0.5581 MB / 1.271 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/1.107, allocations: 94.09 kB / 1.271 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.107, allocations: 47.5 kB / 1.271 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 2.825e-06/1.107, allocations: 4 kB / 1.271 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.007128/1.114, allocations: 3.728 MB / 1.275 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/1.114, allocations: 64.41 kB / 1.275 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.116, allocations: 0.9244 MB / 1.276 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/1.116, allocations: 41.7 kB / 1.276 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006937/1.116, allocations: 0.7494 MB / 1.277 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/1.117, allocations: 408.5 kB / 1.277 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/1.117, allocations: 287.4 kB / 1.278 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.118, allocations: 305.1 kB / 1.278 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.119, allocations: 0.6168 MB / 1.278 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/1.12, allocations: 1.102 MB / 1.279 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/1.123, allocations: 1.832 MB / 1.281 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/1.123, allocations: 7.938 kB / 1.281 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004249/1.127, allocations: 2.101 MB / 1.283 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/1.127, allocations: 12 kB / 1.283 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-05/1.127, allocations: 16 kB / 1.283 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009237/1.128, allocations: 266.6 kB / 1.284 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.13, allocations: 367.4 kB / 1.284 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.143, allocations: 11.59 MB / 1.295 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.145, allocations: 124 kB / 1.295 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/1.145, allocations: 79.92 kB / 1.295 GB, free: 5.219 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.00111/1.146, allocations: 402.7 kB / 1.296 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/1.147, allocations: 135.2 kB / 1.296 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/1.15, allocations: 1.677 MB / 1.298 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.15, allocations: 8 kB / 1.298 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.15, allocations: 8 kB / 1.298 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.15, allocations: 3.984 kB / 1.298 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/1.156, allocations: 3.291 MB / 1.301 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.156, allocations: 8 kB / 1.301 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/1.157, allocations: 215.6 kB / 1.301 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/1.158, allocations: 247.2 kB / 1.301 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/1.158, allocations: 27.94 kB / 1.301 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.169, allocations: 11.58 MB / 1.313 GB, free: 2.301 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.169, allocations: 4 kB / 1.313 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/1.172, allocations: 1.804 MB / 1.314 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007981/1.173, allocations: 316.1 kB / 1.315 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/1.173, allocations: 24 kB / 1.315 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/1.174, allocations: 91.88 kB / 1.315 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/1.174, allocations: 96.64 kB / 1.315 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/1.174, allocations: 43.98 kB / 1.315 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009286/1.175, allocations: 0.6138 MB / 1.316 GB, free: 15.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 4 kB / 1.316 GB, free: 15.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001534/1.177, allocations: 392 kB / 1.316 GB, free: 14.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002672/1.177, allocations: 143 kB / 1.316 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004168/1.181, allocations: 2.402 MB / 1.318 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.181, allocations: 4 kB / 1.318 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.184, allocations: 1.583 MB / 1.32 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.186, allocations: 363.6 kB / 1.32 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/1.191, allocations: 2.811 MB / 1.323 GB, free: 7.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.192, allocations: 1.327 MB / 1.324 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001129/1.194, allocations: 363.3 kB / 1.325 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.194, allocations: 95.42 kB / 1.325 GB, free: 5.395 MB / 1.029 GB Notification: Performance of SimCode: time 1.292e-06/1.194, allocations: 0 / 1.325 GB, free: 5.395 MB / 1.029 GB Notification: Performance of Templates: time 0.03747/1.231, allocations: 18.07 MB / 1.342 GB, free: 3.484 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.73803073912859]