Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001633/0.001633, 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.001748/0.001748, allocations: 191.2 kB / 22.23 MB, free: 5.105 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.538/1.538, 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-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 496 MB / 0.7835 GB, free: 33.65 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-maint.12.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 62.67 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.46, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004864/0.4649, allocations: 2.598 MB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.4665, allocations: 0.8101 MB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.4667, allocations: 4 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4681, allocations: 0.5376 MB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.4684, allocations: 115.5 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.4688, allocations: 103.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.4691, allocations: 211.3 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.4695, allocations: 122.2 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4696, allocations: 83.64 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.4699, allocations: 103.6 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.4699, allocations: 12 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.4701, allocations: 115.8 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.4702, allocations: 63.8 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4703, allocations: 71.67 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.4708, allocations: 227.1 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4708, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4708, allocations: 4 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.4708, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000873/0.4717, allocations: 369.9 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.4717, allocations: 8.922 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.4722, allocations: 44.81 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.4725, allocations: 158.3 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.4725, allocations: 16.59 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.4726, allocations: 20.36 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.4731, allocations: 239 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4731, allocations: 0 / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.4731, allocations: 4 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/0.4731, allocations: 16.27 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.4734, allocations: 144.7 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4751, allocations: 1.106 MB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4752, allocations: 38.56 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.4753, allocations: 16.86 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4753, allocations: 3.938 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4753, allocations: 30.56 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.4753, allocations: 0 / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.4756, allocations: 81.66 kB / 1.315 GB, free: 10.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.4756, allocations: 51.41 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.4759, allocations: 177.3 kB / 1.315 GB, free: 9.926 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4759, allocations: 25.7 kB / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4761, allocations: 147.6 kB / 1.315 GB, free: 9.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.4761, allocations: 11.91 kB / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4762, allocations: 33.66 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.4764, allocations: 322.8 kB / 1.315 GB, free: 9.371 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.4764, allocations: 28.78 kB / 1.315 GB, free: 9.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.4766, allocations: 94.67 kB / 1.315 GB, free: 9.215 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4769, allocations: 121.3 kB / 1.315 GB, free: 9.062 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4769, allocations: 3.938 kB / 1.315 GB, free: 9.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002617/0.4772, allocations: 137.4 kB / 1.316 GB, free: 8.918 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4772, allocations: 8 kB / 1.316 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4772, allocations: 4 kB / 1.316 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.4773, allocations: 3.938 kB / 1.316 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4774, allocations: 31.92 kB / 1.316 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4774, allocations: 4.312 kB / 1.316 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.4775, allocations: 23.83 kB / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4775, allocations: 4 kB / 1.316 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001403/0.4777, allocations: 124.1 kB / 1.316 GB, free: 8.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001181/0.4778, allocations: 88.06 kB / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001807/0.478, allocations: 129.5 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.478, allocations: 0 / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002358/0.4782, allocations: 137.4 kB / 1.316 GB, free: 8.297 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4782, allocations: 12.25 kB / 1.316 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4782, allocations: 8 kB / 1.316 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.4782, allocations: 3.984 kB / 1.316 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.4783, allocations: 20 kB / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4783, allocations: 11.92 kB / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.4784, allocations: 11.94 kB / 1.316 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4784, allocations: 15.92 kB / 1.316 GB, free: 8.215 MB / 1.014 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 (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 prepare postOptimizeDAE: time 0.0001547/0.4785, allocations: 188.2 kB / 1.316 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.4786, allocations: 11.91 kB / 1.316 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.4786, allocations: 17.03 kB / 1.316 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4786, allocations: 3.938 kB / 1.316 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4786, allocations: 4 kB / 1.316 GB, free: 7.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4786, allocations: 0 / 1.316 GB, free: 7.984 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.4792, allocations: 440.2 kB / 1.317 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4792, allocations: 4 kB / 1.317 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.4793, allocations: 12.11 kB / 1.317 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4793, allocations: 0 / 1.317 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4793, allocations: 4 kB / 1.317 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4793, allocations: 0 / 1.317 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4793, allocations: 0 / 1.317 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.4795, allocations: 119.5 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.4795, allocations: 15.94 kB / 1.317 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4795, allocations: 4 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.4796, allocations: 0 / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.4796, allocations: 4 kB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4796, allocations: 3.984 kB / 1.317 GB, free: 7.301 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001723/0.4798, allocations: 129.5 kB / 1.317 GB, free: 7.176 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4798, allocations: 0 / 1.317 GB, free: 7.176 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003763/0.4801, allocations: 59.77 kB / 1.317 GB, free: 7.117 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001691/0.4803, allocations: 107.2 kB / 1.317 GB, free: 7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.4806, allocations: 99.7 kB / 1.317 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4806, allocations: 1.25 kB / 1.317 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.4806, allocations: 24.11 kB / 1.317 GB, free: 6.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.481, allocations: 24.98 kB / 1.317 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.4818, allocations: 275.2 kB / 1.318 GB, free: 6.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.4823, allocations: 0.728 MB / 1.318 GB, free: 5.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.529e-05/0.4824, allocations: 24.62 kB / 1.318 GB, free: 5.766 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.4824, allocations: 11.44 kB / 1.318 GB, free: 5.758 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.4824, allocations: 0 / 1.318 GB, free: 5.758 MB / 1.014 GB Notification: Performance of Templates: time 0.005121/0.4875, allocations: 0.9692 MB / 1.319 GB, free: 4.797 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.757384875789285]