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.001895/0.001895, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001934/0.001934, allocations: 186.6 kB / 22.22 MB, free: 5.102 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.472/1.472, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002029/0.002029, allocations: 71.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 160.8 MB / 1.218 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0165/1.089, allocations: 11.59 MB / 1.23 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01164/1.101, allocations: 5.991 MB / 1.236 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/1.103, allocations: 75.31 kB / 1.236 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005628/1.108, allocations: 1.813 MB / 1.237 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/1.113, allocations: 1.182 MB / 1.239 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/1.115, allocations: 0.8178 MB / 1.239 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003938/1.119, allocations: 2.135 MB / 1.242 GB, free: 15.63 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/1.121, allocations: 0.901 MB / 1.242 GB, free: 14.7 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/1.123, allocations: 0.868 MB / 1.243 GB, free: 13.83 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/1.125, allocations: 0.9611 MB / 1.244 GB, free: 12.87 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.0004827/1.126, allocations: 112 kB / 1.244 GB, free: 12.76 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/1.13, allocations: 1.216 MB / 1.245 GB, free: 11.54 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/1.131, allocations: 0.5373 MB / 1.246 GB, free: 11 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/1.133, allocations: 0.7849 MB / 1.247 GB, free: 10.21 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.006202/1.139, allocations: 2.435 MB / 1.249 GB, free: 7.77 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.139, allocations: 0 / 1.249 GB, free: 7.77 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.645e-06/1.139, allocations: 0 / 1.249 GB, free: 7.77 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0001297/1.139, allocations: 4 kB / 1.249 GB, free: 7.766 MB / 0.9513 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.005073/1.144, allocations: 1.915 MB / 1.251 GB, free: 5.789 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.144, allocations: 8.031 kB / 1.251 GB, free: 5.781 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/1.149, allocations: 0.6786 MB / 1.252 GB, free: 5.102 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/1.152, allocations: 1.013 MB / 1.253 GB, free: 4.047 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/1.152, allocations: 94.89 kB / 1.253 GB, free: 3.953 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/1.152, allocations: 132.3 kB / 1.253 GB, free: 3.824 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/1.156, allocations: 2.211 MB / 1.255 GB, free: 1.391 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/1.156, allocations: 11.94 kB / 1.255 GB, free: 1.379 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/1.156, allocations: 59.97 kB / 1.255 GB, free: 1.32 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/1.157, allocations: 162.3 kB / 1.255 GB, free: 1.16 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/1.16, allocations: 1.867 MB / 1.257 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/1.174, allocations: 12.46 MB / 1.269 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004309/1.178, allocations: 1.87 MB / 1.271 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/1.179, allocations: 0.5502 MB / 1.272 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/1.18, allocations: 106.1 kB / 1.272 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.18, allocations: 39.56 kB / 1.272 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 2.595e-06/1.18, allocations: 0 / 1.272 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.00631/1.186, allocations: 3.732 MB / 1.275 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.186, allocations: 68.41 kB / 1.275 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/1.187, allocations: 0.9283 MB / 1.276 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/1.187, allocations: 41.7 kB / 1.276 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/1.188, allocations: 0.7533 MB / 1.277 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/1.188, allocations: 404.5 kB / 1.278 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/1.189, allocations: 287.4 kB / 1.278 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.189, allocations: 301.1 kB / 1.278 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/1.19, allocations: 0.6129 MB / 1.279 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/1.191, allocations: 1.106 MB / 1.28 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.194, allocations: 1.828 MB / 1.282 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.194, allocations: 7.984 kB / 1.282 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003614/1.197, allocations: 2.108 MB / 1.284 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/1.197, allocations: 12 kB / 1.284 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.197, allocations: 12.91 kB / 1.284 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008178/1.198, allocations: 262.6 kB / 1.284 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.199, allocations: 371.4 kB / 1.284 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.21, allocations: 11.59 MB / 1.296 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.211, allocations: 123.8 kB / 1.296 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.212, allocations: 76.08 kB / 1.296 GB, free: 4.863 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.0007394/1.212, allocations: 401.7 kB / 1.296 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.213, allocations: 139.2 kB / 1.296 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.215, allocations: 1.677 MB / 1.298 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.215, allocations: 12 kB / 1.298 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.216, allocations: 4 kB / 1.298 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.216, allocations: 3.984 kB / 1.298 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/1.221, allocations: 3.288 MB / 1.301 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.221, allocations: 4 kB / 1.301 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/1.222, allocations: 227.6 kB / 1.301 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007097/1.223, allocations: 243 kB / 1.302 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/1.223, allocations: 31.94 kB / 1.302 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.233, allocations: 11.57 MB / 1.313 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.233, allocations: 8 kB / 1.313 GB, free: 1.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/1.236, allocations: 1.812 MB / 1.315 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/1.237, allocations: 312.1 kB / 1.315 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.237, allocations: 28 kB / 1.315 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/1.238, allocations: 91.88 kB / 1.315 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/1.238, allocations: 100.7 kB / 1.315 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/1.238, allocations: 39.98 kB / 1.315 GB, free: 15.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008703/1.239, allocations: 0.6177 MB / 1.316 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.239, allocations: 0 / 1.316 GB, free: 14.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001416/1.24, allocations: 392 kB / 1.316 GB, free: 14.44 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.0002493/1.24, allocations: 143 kB / 1.316 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00385/1.244, allocations: 2.41 MB / 1.319 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.244, allocations: 7.938 kB / 1.319 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.246, allocations: 1.579 MB / 1.32 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.248, allocations: 354.4 kB / 1.321 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/1.253, allocations: 2.812 MB / 1.323 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.254, allocations: 1.327 MB / 1.325 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009559/1.255, allocations: 359.3 kB / 1.325 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/1.255, allocations: 95.42 kB / 1.325 GB, free: 5.035 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/1.255, allocations: 0 / 1.325 GB, free: 5.035 MB / 1.029 GB Notification: Performance of Templates: time 0.03484/1.29, allocations: 18.44 MB / 1.343 GB, free: 2.754 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.089594727382064]