Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 198.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.12 kB / 0.8127 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.246, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002879/0.2489, allocations: 1.611 MB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.2499, allocations: 0.5766 MB / 0.9519 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.25, allocations: 4 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.2501, allocations: 7.922 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.2502, allocations: 11.81 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2506, allocations: 79.91 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2507, allocations: 107.6 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.2508, allocations: 20.22 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2509, allocations: 43.84 kB / 0.9522 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.251, allocations: 55.81 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2511, allocations: 4 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.2512, allocations: 55.95 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.2512, allocations: 23.92 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.2513, allocations: 43.67 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2515, allocations: 96.05 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2515, allocations: 0 / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2515, allocations: 0 / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2515, allocations: 0 / 0.9524 GB, free: 6.523 MB / 0.7325 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.0007988/0.2523, allocations: 456.7 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2524, allocations: 8.031 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.2524, allocations: 16.83 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.2526, allocations: 198 kB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.2526, allocations: 384 / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2527, allocations: 8.375 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.253, allocations: 113.8 kB / 0.9532 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.253, allocations: 4 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.253, allocations: 4 kB / 0.9532 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.253, allocations: 4 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.2534, allocations: 83.91 kB / 0.9533 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.254, allocations: 352.6 kB / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2543, allocations: 94.42 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2545, allocations: 60.88 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2545, allocations: 4 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.2549, allocations: 111.3 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.2549, allocations: 3.938 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000646/0.2555, allocations: 205.4 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2556, allocations: 59.39 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2557, allocations: 139.7 kB / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2557, allocations: 29.7 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.2558, allocations: 100 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2558, allocations: 23.66 kB / 0.9544 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.2559, allocations: 29.77 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.256, allocations: 326.8 kB / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.2562, allocations: 63.89 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2564, allocations: 59.95 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2568, allocations: 142.5 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2568, allocations: 0 / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004562/0.2572, allocations: 203.2 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.2573, allocations: 37.64 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2573, allocations: 0 / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2573, allocations: 0 / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2575, allocations: 19.97 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2575, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2576, allocations: 27.83 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2577, allocations: 4 kB / 0.9553 GB, free: 3.344 MB / 0.7325 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.0001008/0.2578, allocations: 125.8 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.2578, allocations: 7.906 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.2578, allocations: 8.719 kB / 0.9554 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2578, allocations: 4 kB / 0.9554 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2579, allocations: 7.984 kB / 0.9554 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2579, allocations: 4 kB / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2581, allocations: 193.6 kB / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2581, allocations: 4 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2582, allocations: 20.44 kB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2582, allocations: 0 / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2582, allocations: 7.938 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2582, allocations: 0 / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2582, allocations: 0 / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.2587, allocations: 192.7 kB / 0.9558 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.2588, allocations: 85.02 kB / 0.9559 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.2588, allocations: 4 kB / 0.9559 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2589, allocations: 19.91 kB / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.259, allocations: 11.98 kB / 0.9559 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.259, allocations: 7.938 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.2591, allocations: 107.2 kB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2591, allocations: 4 kB / 0.9561 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003193/0.2595, allocations: 35.94 kB / 0.9561 GB, free: 2.414 MB / 0.7325 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.0002301/0.2597, allocations: 115.2 kB / 0.9562 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.2602, allocations: 187.2 kB / 0.9564 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2602, allocations: 4 kB / 0.9564 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2605, allocations: 67.94 kB / 0.9565 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.2607, allocations: 7.984 kB / 0.9565 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.2614, allocations: 285.3 kB / 0.9567 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2617, allocations: 0.6963 MB / 0.9574 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.2618, allocations: 15.42 kB / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2618, allocations: 0 / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of Templates: time 0.003451/0.2653, allocations: 1.517 MB / 0.9589 GB, free: 15.45 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches