Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001781/0.001781, allocations: 110 kB / 18.93 MB, free: 2.945 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.002636/0.002636, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.489/1.489, 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 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.729/2.729, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_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_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.88 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9436/0.9456, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004895/0.9505, allocations: 2.585 MB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.9521, allocations: 0.8162 MB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.9522, allocations: 2.906 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.9535, allocations: 0.5538 MB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.9538, allocations: 106 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.9542, allocations: 102.4 kB / 1.223 GB, free: 448 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.9545, allocations: 208 kB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.9548, allocations: 134.8 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.955, allocations: 89.08 kB / 1.223 GB, free: 184 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.9552, allocations: 103.1 kB / 1.223 GB, free: 120 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.9553, allocations: 12.56 kB / 1.223 GB, free: 120 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.9555, allocations: 111.2 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.9556, allocations: 59.81 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.9557, allocations: 71.19 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.9561, allocations: 224.3 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9561, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9561, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9561, allocations: 4.812 kB / 1.223 GB, free: 15.84 MB / 0.9356 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.0007342/0.9568, allocations: 464.8 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9569, allocations: 9.656 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.9573, allocations: 48.97 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.9576, allocations: 217.3 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9576, allocations: 5.219 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.9576, allocations: 17.11 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.9581, allocations: 240 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.9581, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.9581, allocations: 6.375 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.9581, allocations: 15.2 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.9584, allocations: 147.3 kB / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.9597, allocations: 1.126 MB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.9598, allocations: 35.81 kB / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.9598, allocations: 19.47 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.9598, allocations: 8.656 kB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.9599, allocations: 35.31 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9599, allocations: 0 / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000225/0.9601, allocations: 76.12 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.9601, allocations: 52.16 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.9603, allocations: 180.5 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.9603, allocations: 25.7 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.9605, allocations: 153.2 kB / 1.226 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.9605, allocations: 13.97 kB / 1.226 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.9605, allocations: 36.22 kB / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9607, allocations: 320.8 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.9608, allocations: 25.2 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.9609, allocations: 98.48 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.961, allocations: 116.2 kB / 1.227 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.961, allocations: 5.344 kB / 1.227 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002003/0.9612, allocations: 141.7 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9612, allocations: 7.031 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.9612, allocations: 1.219 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.9613, allocations: 8.125 kB / 1.227 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.9614, allocations: 27.3 kB / 1.227 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9614, allocations: 7.266 kB / 1.227 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.9615, allocations: 13.86 kB / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.9615, allocations: 10.75 kB / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001165/0.9616, allocations: 132 kB / 1.227 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.421e-05/0.9617, allocations: 81.81 kB / 1.227 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000154/0.9618, allocations: 140.3 kB / 1.227 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.9618, allocations: 1.406 kB / 1.227 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001896/0.962, allocations: 128.5 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.962, allocations: 10.03 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.962, allocations: 2.406 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.962, allocations: 4 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.9621, allocations: 24.48 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.9621, allocations: 11.75 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.9622, allocations: 14.61 kB / 1.228 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.9622, allocations: 10.75 kB / 1.228 GB, free: 12 MB / 0.9356 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.0001193/0.9623, allocations: 186.5 kB / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.9624, allocations: 9.172 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.9624, allocations: 12.81 kB / 1.228 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9624, allocations: 7.922 kB / 1.228 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9624, allocations: 1.188 kB / 1.228 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9624, allocations: 4 kB / 1.228 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.9629, allocations: 473.7 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9629, allocations: 1.156 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.9629, allocations: 6.469 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9629, allocations: 1.156 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9629, allocations: 1.281 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9629, allocations: 5.312 kB / 1.228 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9629, allocations: 5.406 kB / 1.228 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.9631, allocations: 115.8 kB / 1.228 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.9632, allocations: 97.8 kB / 1.228 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.9632, allocations: 5.062 kB / 1.228 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.9632, allocations: 5.422 kB / 1.228 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.9632, allocations: 1.531 kB / 1.228 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9632, allocations: 2.156 kB / 1.228 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001153/0.9634, allocations: 126.4 kB / 1.229 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9634, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003432/0.9637, allocations: 52.27 kB / 1.229 GB, free: 10.96 MB / 0.9356 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.0001095/0.9638, allocations: 102.9 kB / 1.229 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.964, allocations: 105 kB / 1.229 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.964, allocations: 1.344 kB / 1.229 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.9641, allocations: 18.45 kB / 1.229 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.9643, allocations: 23.08 kB / 1.229 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.9649, allocations: 279.9 kB / 1.229 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.9653, allocations: 0.7261 MB / 1.23 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.9654, allocations: 30.39 kB / 1.23 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.9654, allocations: 13.91 kB / 1.23 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.9654, allocations: 0 / 1.23 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.003783/0.9692, allocations: 0.9655 MB / 1.231 GB, free: 9.348 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.960020502097905]