Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001755/0.001755, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002033/0.002033, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.773 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.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_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.00199/0.00199, allocations: 68.09 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002712/0.3418, allocations: 1.559 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3429, allocations: 0.6116 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.343, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.975e-05/0.3431, allocations: 7.875 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.3431, allocations: 23.78 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.3436, allocations: 107.8 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3437, allocations: 91.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.3438, allocations: 16.44 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.344, allocations: 55.83 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.3441, allocations: 43.84 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3441, allocations: 11.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3442, allocations: 99.83 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3443, allocations: 19.92 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.3444, allocations: 31.84 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3446, allocations: 151.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3446, allocations: 3.984 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3446, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3446, allocations: 0 / 1.329 GB, free: 14.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007579/0.3454, allocations: 391.4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3454, allocations: 8.031 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.3454, allocations: 42.69 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.3457, allocations: 28.86 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3459, allocations: 140.1 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3459, allocations: 4.375 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.346, allocations: 4.375 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3463, allocations: 109.7 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3463, allocations: 3.938 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3463, allocations: 7.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3463, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.3466, allocations: 83.92 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.3473, allocations: 307.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3476, allocations: 90.44 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3478, allocations: 60.86 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3478, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.3481, allocations: 115.3 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3481, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006538/0.3488, allocations: 201.4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3488, allocations: 59.39 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.349, allocations: 144.8 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.349, allocations: 25.7 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.3491, allocations: 112.1 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3491, allocations: 27.86 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.3492, allocations: 25.7 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3493, allocations: 322.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3495, allocations: 89.66 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3497, allocations: 89.58 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.3501, allocations: 142.5 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3501, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004811/0.3506, allocations: 224.9 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.3506, allocations: 39.58 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3506, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3506, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3508, allocations: 23.92 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3508, allocations: 8.391 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3509, allocations: 19.92 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3509, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 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.0001126/0.351, allocations: 131.6 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3511, allocations: 15.84 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.3511, allocations: 12.72 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3511, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3511, allocations: 3.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3511, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3513, allocations: 160.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3513, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3514, allocations: 19.97 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3514, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3514, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3514, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3514, allocations: 3.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3519, allocations: 188.9 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.3519, allocations: 7.906 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3519, allocations: 4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3521, allocations: 15.97 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3521, allocations: 15.92 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3521, allocations: 7.984 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.3522, allocations: 104.8 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3522, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002554/0.3525, allocations: 43.94 kB / 1.332 GB, free: 10.73 MB / 1.029 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.0007925/0.3533, allocations: 0.7333 MB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.3538, allocations: 216.9 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3538, allocations: 4 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.354, allocations: 59.89 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3542, allocations: 15.98 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3568, allocations: 1.827 MB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.315e-05/0.3569, allocations: 93.11 kB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.487e-05/0.3569, allocations: 15.98 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.357, allocations: 31.42 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.357, allocations: 0 / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3868, allocations: 3.434 MB / 1.338 GB, free: 4.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.15, allocations: 8.719 kB / 1.338 GB, free: 4.262 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.822403241996653]