Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0007707/0.0007707, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009135/0.0009135, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9335/0.9335, allocations: 177.1 MB / 203.8 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.3/2.3, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.588e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002587/0.002603, allocations: 2.507 MB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004043, allocations: 1.265 MB / 0.8423 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.004115, allocations: 4 kB / 0.8423 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.004389, allocations: 91.5 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.00463, allocations: 190.9 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.004857, allocations: 167.5 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.0051, allocations: 318.9 kB / 0.843 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.005306, allocations: 198.2 kB / 0.8432 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.005497, allocations: 183.6 kB / 0.8434 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.005691, allocations: 159.6 kB / 0.8435 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.005716, allocations: 20 kB / 0.8435 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.005888, allocations: 159.6 kB / 0.8437 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.005966, allocations: 103.7 kB / 0.8438 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.006039, allocations: 87.81 kB / 0.8439 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.006318, allocations: 303 kB / 0.8442 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006319, allocations: 0 / 0.8442 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.01e-07/0.00632, allocations: 0 / 0.8442 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.006323, allocations: 3.938 kB / 0.8442 GB, free: 8.516 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004405/0.006764, allocations: 447.8 kB / 0.8446 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.324e-05/0.006787, allocations: 8.031 kB / 0.8446 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.007181, allocations: 120.6 kB / 0.8447 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.00736, allocations: 183.2 kB / 0.8449 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.007374, allocations: 16.86 kB / 0.8449 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.00743, allocations: 28.5 kB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.007676, allocations: 279.8 kB / 0.8452 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007685, allocations: 192 / 0.8452 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.007705, allocations: 16.12 kB / 0.8452 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.007757, allocations: 28.48 kB / 0.8452 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.007874, allocations: 91.31 kB / 0.8453 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.008627, allocations: 0.8418 MB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.008793, allocations: 156 kB / 0.8463 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.008833, allocations: 36.86 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.008886, allocations: 11.98 kB / 0.8463 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.008903, allocations: 34.56 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 9.21e-07/0.008904, allocations: 0 / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0004755/0.00938, allocations: 363.1 kB / 0.8467 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.0094, allocations: 55.41 kB / 0.8468 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.009489, allocations: 174.5 kB / 0.8469 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.009503, allocations: 29.7 kB / 0.847 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.00956, allocations: 168.5 kB / 0.8471 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.009591, allocations: 67.42 kB / 0.8472 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.009647, allocations: 53.62 kB / 0.8472 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.00972, allocations: 326.8 kB / 0.8476 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.009758, allocations: 27.98 kB / 0.8476 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.009827, allocations: 97.86 kB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.009948, allocations: 140.2 kB / 0.8478 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.009949, allocations: 0 / 0.8478 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002501/0.0102, allocations: 197 kB / 0.848 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01022, allocations: 4 kB / 0.848 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01022, allocations: 4 kB / 0.848 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.01051, allocations: 119.7 kB / 0.8481 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01061, allocations: 35.98 kB / 0.8481 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/0.0114, allocations: 1.348 MB / 0.8495 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.01148, allocations: 15.97 kB / 0.8495 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01149, allocations: 4 kB / 0.8495 GB, free: 2.68 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.01157, allocations: 120.7 kB / 0.8496 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.0116, allocations: 19.98 kB / 0.8496 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01175, allocations: 148.6 kB / 0.8498 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01176, allocations: 192 / 0.8498 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.01176, allocations: 8 kB / 0.8498 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01176, allocations: 3.984 kB / 0.8498 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.01209, allocations: 402.4 kB / 0.8502 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01209, allocations: 0 / 0.8502 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.01223, allocations: 51.91 kB / 0.8502 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01223, allocations: 7.875 kB / 0.8502 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01224, allocations: 11.98 kB / 0.8502 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.01224, allocations: 0 / 0.8502 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01224, allocations: 0 / 0.8502 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.01244, allocations: 310.3 kB / 0.8505 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.01249, allocations: 39.81 kB / 0.8506 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.0125, allocations: 0 / 0.8506 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.01257, allocations: 8 kB / 0.8506 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.01259, allocations: 11.97 kB / 0.8506 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.0126, allocations: 8 kB / 0.8506 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.01263, allocations: 43.31 kB / 0.8506 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 0 / 0.8506 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001856/0.01282, allocations: 68 kB / 0.8507 GB, free: 1.375 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 8.42e-05/0.0129, allocations: 84.45 kB / 0.8508 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.0132, allocations: 275 kB / 0.851 GB, free: 1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.0132, allocations: 0 / 0.851 GB, free: 1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.01325, allocations: 56.7 kB / 0.8511 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.01342, allocations: 44.41 kB / 0.8511 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.01417, allocations: 0.5198 MB / 0.8516 GB, free: 352 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.01423, allocations: 104.3 kB / 0.8517 GB, free: 228 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.676e-05/0.0143, allocations: 25.94 kB / 0.8518 GB, free: 200 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.01439, allocations: 79.36 kB / 0.8518 GB, free: 120 kB / 0.8073 GB Notification: Performance of SimCode: time 3.31e-07/0.01439, allocations: 0 / 0.8518 GB, free: 120 kB / 0.8073 GB Notification: Performance of Templates: time 0.00421/0.0186, allocations: 2.973 MB / 0.8547 GB, free: 13.18 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.052488593850285]