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.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.001784/0.001784, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002076/0.002076, allocations: 217.2 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.53 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3422, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004499/0.3467, allocations: 2.528 MB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3482, allocations: 0.7635 MB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3483, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.3498, allocations: 0.5337 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.3501, allocations: 107.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.3506, allocations: 118.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.3509, allocations: 207.4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3513, allocations: 126.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3514, allocations: 79.75 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3517, allocations: 103.6 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.3517, allocations: 12 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.3519, allocations: 99.78 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.352, allocations: 63.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.3521, allocations: 55.73 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.3524, allocations: 227.1 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3524, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3524, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3525, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 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.0007444/0.3532, allocations: 381.8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3532, allocations: 8.031 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.3536, allocations: 44.77 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3539, allocations: 166.3 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3539, allocations: 12.64 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3539, allocations: 8.375 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.3544, allocations: 265.3 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3544, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3544, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.3545, allocations: 16.27 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.3547, allocations: 144.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3559, allocations: 0.7779 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.356, allocations: 38.56 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.356, allocations: 12.86 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.356, allocations: 8 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.356, allocations: 34.5 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.356, allocations: 0 / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.3563, allocations: 77.67 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.3563, allocations: 59.34 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3565, allocations: 152.5 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3565, allocations: 29.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3566, allocations: 139.7 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3566, allocations: 15.84 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.3567, allocations: 37.66 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3568, allocations: 322.8 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.3569, allocations: 24.84 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.357, allocations: 97.3 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3572, allocations: 121.3 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3572, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000301/0.3575, allocations: 137.4 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3575, allocations: 4 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3575, allocations: 4 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3575, allocations: 4.312 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3576, allocations: 31.92 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3576, allocations: 7.938 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.3577, allocations: 11.89 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3577, allocations: 8 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001132/0.3578, allocations: 126.7 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.608e-05/0.3579, allocations: 89.38 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001529/0.3581, allocations: 133.5 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.3581, allocations: 3.984 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002059/0.3583, allocations: 133.7 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.425e-06/0.3583, allocations: 5.875 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3583, allocations: 4 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.3583, allocations: 7.984 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3585, allocations: 23.94 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.3585, allocations: 0 / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.3585, allocations: 15.92 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3585, allocations: 8 kB / 1.336 GB, free: 7.855 MB / 1.029 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.000125/0.3587, allocations: 192.2 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3587, allocations: 7.953 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.3587, allocations: 12.38 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3587, allocations: 4 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3587, allocations: 3.938 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3587, allocations: 0 / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.3592, allocations: 408.7 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3592, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.3592, allocations: 11.94 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3592, allocations: 3.938 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3592, allocations: 4 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3592, allocations: 8.125 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3592, allocations: 0 / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.3594, allocations: 111.6 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.3595, allocations: 11.89 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3595, allocations: 4 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.312e-05/0.3595, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.3596, allocations: 11.98 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.3596, allocations: 4 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.136e-05/0.3597, allocations: 103.3 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 4 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003535/0.36, allocations: 59.84 kB / 1.337 GB, free: 6.816 MB / 1.029 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.0001065/0.3601, allocations: 103.2 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3603, allocations: 104.9 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3603, allocations: 0 / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.3604, allocations: 20.19 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3606, allocations: 25.53 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.3612, allocations: 306.1 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3613, allocations: 110.2 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.3613, allocations: 15.38 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3613, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of Templates: time 0.003318/0.3647, allocations: 1.446 MB / 1.339 GB, free: 4.637 MB / 1.029 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/jenkins1/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: 11.26560148014687]