Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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.001692/0.001692, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002155/0.002155, allocations: 207.3 kB / 22.24 MB, free: 5.262 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.433/1.433, 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.257/3.257, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [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.002035/0.002035, allocations: 71.31 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002741/0.3584, allocations: 1.551 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3596, allocations: 0.6087 MB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.3596, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.3597, allocations: 15.86 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.3598, allocations: 15.8 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.3602, allocations: 107.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3603, allocations: 95.7 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3604, allocations: 16.5 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3606, allocations: 51.83 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.3607, allocations: 43.77 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3607, allocations: 8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.3609, allocations: 95.84 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.3609, allocations: 23.91 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.361, allocations: 35.86 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3612, allocations: 151.4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3612, allocations: 4 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3612, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3612, allocations: 0 / 1.366 GB, free: 11.28 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008123/0.362, allocations: 387.4 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3621, allocations: 16.03 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.3621, allocations: 30.75 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.3624, allocations: 32.86 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3626, allocations: 138.4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3626, allocations: 4.375 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3626, allocations: 4.375 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3629, allocations: 109.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3629, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.363, allocations: 8 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.363, allocations: 11.94 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3633, allocations: 87.91 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.3639, allocations: 299.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.3643, allocations: 98.44 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3645, allocations: 52.88 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3645, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.3648, allocations: 111.3 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3648, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006512/0.3654, allocations: 209.4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.3655, allocations: 55.52 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3656, allocations: 146.3 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3657, allocations: 29.7 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.3657, allocations: 104 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3658, allocations: 31.86 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.3658, allocations: 29.7 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.366, allocations: 322.8 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3662, allocations: 89.58 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.3664, allocations: 85.66 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.3668, allocations: 142.5 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3668, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00048/0.3673, allocations: 232.9 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.3673, allocations: 29.7 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3673, allocations: 0 / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3673, allocations: 0 / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3675, allocations: 23.97 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3675, allocations: 3.938 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3676, allocations: 32.28 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3676, allocations: 4 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001054/0.3677, allocations: 121.8 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.3678, allocations: 11.89 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.3678, allocations: 8.719 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3678, allocations: 11.98 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3678, allocations: 3.938 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3678, allocations: 3.984 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.368, allocations: 152.7 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.368, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3681, allocations: 31.91 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3681, allocations: 0 / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3681, allocations: 0 / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3681, allocations: 4 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3681, allocations: 3.938 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.3686, allocations: 176.9 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3686, allocations: 11.94 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3687, allocations: 8 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3688, allocations: 15.98 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.3688, allocations: 23.84 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3689, allocations: 4 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.3689, allocations: 104.6 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002506/0.3692, allocations: 39.92 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000825/0.37, allocations: 0.7373 MB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.3705, allocations: 209 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3705, allocations: 0 / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.3707, allocations: 63.88 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3709, allocations: 19.92 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3736, allocations: 1.823 MB / 1.372 GB, free: 4.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.61e-05/0.3737, allocations: 89.17 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.3738, allocations: 11.98 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.3738, allocations: 27.42 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3738, allocations: 0 / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.4039, allocations: 3.398 MB / 1.376 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.99, allocations: 13.33 kB / 1.376 GB, free: 0.9258 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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: 17.710970064625144]