Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.9 MB, free: 3.188 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 489.7 MB / 0.7761 GB, free: 2.449 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.88 kB / 1.127 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 172.1 MB / 1.295 GB, free: 38.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003685/1.192, allocations: 2.662 MB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002071/1.195, allocations: 1.495 MB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/1.195, allocations: 5.094 kB / 1.299 GB, free: 35.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007775/1.195, allocations: 225 kB / 1.299 GB, free: 35.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/1.196, allocations: 186 kB / 1.299 GB, free: 35.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/1.196, allocations: 161.1 kB / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/1.196, allocations: 227.5 kB / 1.3 GB, free: 35.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/1.197, allocations: 135.8 kB / 1.3 GB, free: 35.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/1.197, allocations: 97.95 kB / 1.3 GB, free: 35.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/1.197, allocations: 123.4 kB / 1.3 GB, free: 35.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/1.197, allocations: 15.22 kB / 1.3 GB, free: 35.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/1.197, allocations: 224.5 kB / 1.3 GB, free: 35.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/1.197, allocations: 84.84 kB / 1.3 GB, free: 35.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/1.198, allocations: 84.22 kB / 1.3 GB, free: 35.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/1.198, allocations: 343.2 kB / 1.301 GB, free: 35.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.198, allocations: 0 / 1.301 GB, free: 35.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.198, allocations: 0 / 1.301 GB, free: 35.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.198, allocations: 0 / 1.301 GB, free: 35.02 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007214/1.199, allocations: 497.6 kB / 1.301 GB, free: 34.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.199, allocations: 11.19 kB / 1.301 GB, free: 34.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/1.199, allocations: 75.05 kB / 1.301 GB, free: 34.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/1.2, allocations: 239.2 kB / 1.302 GB, free: 34.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.2, allocations: 14.53 kB / 1.302 GB, free: 34.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/1.2, allocations: 15.22 kB / 1.302 GB, free: 34.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/1.2, allocations: 327.2 kB / 1.302 GB, free: 34.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.2, allocations: 7.219 kB / 1.302 GB, free: 34.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/1.2, allocations: 11.94 kB / 1.302 GB, free: 34.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.2, allocations: 20.78 kB / 1.302 GB, free: 34.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/1.2, allocations: 251.4 kB / 1.302 GB, free: 34.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.202, allocations: 1.622 MB / 1.304 GB, free: 32.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/1.202, allocations: 405.7 kB / 1.304 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.202, allocations: 80.58 kB / 1.304 GB, free: 32.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/1.202, allocations: 85.88 kB / 1.304 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/1.203, allocations: 41.47 kB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/1.203, allocations: 224 / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006226/1.203, allocations: 309.6 kB / 1.305 GB, free: 31.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.203, allocations: 81.05 kB / 1.305 GB, free: 31.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.203, allocations: 176.8 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/1.203, allocations: 25.7 kB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/1.203, allocations: 153.5 kB / 1.305 GB, free: 31.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/1.203, allocations: 55.88 kB / 1.305 GB, free: 31.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/1.203, allocations: 52.38 kB / 1.305 GB, free: 31.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.204, allocations: 324.8 kB / 1.305 GB, free: 31.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.204, allocations: 82.75 kB / 1.306 GB, free: 31.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/1.204, allocations: 156.9 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/1.204, allocations: 247.9 kB / 1.306 GB, free: 30.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.204, allocations: 6.875 kB / 1.306 GB, free: 30.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003473/1.204, allocations: 274.6 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.204, allocations: 5.25 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.204, allocations: 2.688 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.204, allocations: 10.16 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.205, allocations: 53.41 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.205, allocations: 9.219 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/1.205, allocations: 19.36 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/1.205, allocations: 11.36 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001468/1.205, allocations: 174.7 kB / 1.306 GB, free: 30.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001163/1.205, allocations: 148.7 kB / 1.307 GB, free: 30.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000214/1.205, allocations: 232.7 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/1.205, allocations: 2.906 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003017/1.206, allocations: 247.9 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.206, allocations: 7.031 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/1.206, allocations: 2.812 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-06/1.206, allocations: 5.906 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.206, allocations: 63.12 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.206, allocations: 2.875 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.206, allocations: 16.05 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/1.206, allocations: 5.625 kB / 1.307 GB, free: 30.17 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/1.206, allocations: 199 kB / 1.307 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/1.206, allocations: 17.59 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/1.206, allocations: 207.5 kB / 1.308 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.206, allocations: 2.875 kB / 1.308 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.206, allocations: 0 / 1.308 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.206, allocations: 0 / 1.308 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/1.207, allocations: 0.9676 MB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.207, allocations: 2.5 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1.208, allocations: 38.48 kB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.208, allocations: 9.625 kB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.208, allocations: 2.812 kB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.208, allocations: 5.75 kB / 1.309 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.208, allocations: 10.75 kB / 1.309 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/1.208, allocations: 436.2 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/1.208, allocations: 109 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.208, allocations: 5.438 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.208, allocations: 19.16 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/1.208, allocations: 17.27 kB / 1.309 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.208, allocations: 8.094 kB / 1.309 GB, free: 28.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001006/1.208, allocations: 142.8 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.208, allocations: 0 / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004798/1.209, allocations: 69.88 kB / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/1.209, allocations: 118.1 kB / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000407/1.209, allocations: 292.2 kB / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.209, allocations: 2.688 kB / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/1.209, allocations: 79.34 kB / 1.31 GB, free: 28.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/1.21, allocations: 38.97 kB / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/1.211, allocations: 0.5149 MB / 1.31 GB, free: 27.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/1.211, allocations: 0.7448 MB / 1.311 GB, free: 27.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/1.211, allocations: 22.88 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.211, allocations: 0 / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of Templates: time 0.003974/1.215, allocations: 2.363 MB / 1.313 GB, free: 26.99 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches