Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001779/0.001779, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002284/0.002284, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.765/3.765, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_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_latest_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.002202/0.002202, allocations: 71.67 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5167, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005086/0.5218, allocations: 2.524 MB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5234, allocations: 0.7558 MB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.5235, allocations: 0 / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5249, allocations: 0.5376 MB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.5252, allocations: 119.5 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.5255, allocations: 107.7 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.5258, allocations: 195.4 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.5262, allocations: 136.2 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.5263, allocations: 87.69 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.5266, allocations: 91.64 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.5267, allocations: 15.94 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.5269, allocations: 111.8 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.527, allocations: 55.83 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.5271, allocations: 59.72 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.5275, allocations: 227.1 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.5275, allocations: 7.984 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5275, allocations: 0 / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.5275, allocations: 0 / 1.369 GB, free: 8.59 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000751/0.5282, allocations: 365.9 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5283, allocations: 8.031 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.5287, allocations: 48.8 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.529, allocations: 158.3 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.529, allocations: 12.66 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5291, allocations: 12.38 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.5295, allocations: 260.7 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5295, allocations: 0 / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.5296, allocations: 8 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.5296, allocations: 16.28 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.5299, allocations: 144.7 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5309, allocations: 0.7896 MB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.531, allocations: 46.44 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.5311, allocations: 16.94 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5311, allocations: 0 / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.5311, allocations: 34.56 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5311, allocations: 0 / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.5313, allocations: 73.62 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5314, allocations: 55.34 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5315, allocations: 153.7 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5316, allocations: 25.7 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5317, allocations: 147.6 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5317, allocations: 19.83 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.5317, allocations: 29.72 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5319, allocations: 322.8 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.532, allocations: 24.84 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5321, allocations: 95.44 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5322, allocations: 125.3 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5322, allocations: 0 / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002112/0.5325, allocations: 137.5 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5325, allocations: 7.938 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5325, allocations: 11.97 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.5325, allocations: 4 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5326, allocations: 23.94 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.5326, allocations: 11.92 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.5327, allocations: 11.89 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5327, allocations: 8 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001172/0.5328, allocations: 116.1 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001064/0.5329, allocations: 89.61 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001557/0.5331, allocations: 129.2 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.5331, allocations: 4 kB / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001927/0.5333, allocations: 133.4 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5333, allocations: 11.94 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5333, allocations: 4 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-06/0.5333, allocations: 0 / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.5334, allocations: 27.98 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5334, allocations: 8.25 kB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.5335, allocations: 19.89 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.5335, allocations: 8 kB / 1.372 GB, free: 4.531 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 (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.0001159/0.5336, allocations: 184.3 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.5336, allocations: 3.953 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.5337, allocations: 16.61 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5337, allocations: 0 / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.5337, allocations: 7.922 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5337, allocations: 4 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.5341, allocations: 412.8 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5341, allocations: 0 / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.5342, allocations: 11.92 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5342, allocations: 4 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5342, allocations: 0 / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5342, allocations: 4 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5342, allocations: 0 / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.5343, allocations: 107.6 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.5344, allocations: 15.88 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.5344, allocations: 4 kB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.5344, allocations: 4.031 kB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.5344, allocations: 8 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5345, allocations: 0 / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001006/0.5346, allocations: 109.7 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5346, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003371/0.5349, allocations: 59.84 kB / 1.373 GB, free: 3.504 MB / 1.061 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.0001131/0.535, allocations: 99.12 kB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.5352, allocations: 112.3 kB / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5352, allocations: 0 / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.5353, allocations: 19.92 kB / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.5356, allocations: 24.36 kB / 1.373 GB, free: 3.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.5361, allocations: 271.3 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.5363, allocations: 119 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.5364, allocations: 24.33 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.5364, allocations: 15.44 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.5364, allocations: 4 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of Templates: time 0.004065/0.5405, allocations: 0.8914 MB / 1.375 GB, free: 1.902 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.634499195963144]