Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.005678/0.005678, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001236/0.001236, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7106 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.88 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7138, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003129/0.7169, allocations: 1.605 MB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.718, allocations: 0.5922 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.7181, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.7182, allocations: 7.922 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.7183, allocations: 19.86 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.7186, allocations: 71.86 kB / 1.02 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.7188, allocations: 91.64 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7189, allocations: 16.22 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.719, allocations: 47.83 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.7191, allocations: 43.83 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7191, allocations: 4 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.7192, allocations: 55.89 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.7193, allocations: 19.92 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.7194, allocations: 39.78 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.7195, allocations: 85.81 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.7196, allocations: 3.938 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7196, allocations: 3.938 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.7196, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 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.0008549/0.7204, allocations: 452.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7205, allocations: 12.03 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.7205, allocations: 8.844 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.7208, allocations: 196 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.7208, allocations: 8.375 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.7208, allocations: 4.375 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.7211, allocations: 109.9 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7212, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7212, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.7212, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.7215, allocations: 87.86 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.7222, allocations: 356.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.7226, allocations: 94.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.7228, allocations: 60.81 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.7228, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.7232, allocations: 107.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.7232, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006859/0.7239, allocations: 213.4 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.7239, allocations: 51.52 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.7241, allocations: 153.2 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.7241, allocations: 25.7 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.7242, allocations: 99.91 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.7242, allocations: 31.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.7243, allocations: 25.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7244, allocations: 335 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.7246, allocations: 51.95 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.7248, allocations: 59.89 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.7251, allocations: 142.4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7252, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004751/0.7256, allocations: 199.1 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.7257, allocations: 33.69 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7257, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7257, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.7259, allocations: 15.98 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.7259, allocations: 7.938 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.726, allocations: 23.91 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7261, allocations: 8 kB / 1.023 GB, free: 12.91 MB / 0.7794 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.0001103/0.7262, allocations: 118.3 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.7262, allocations: 7.906 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.7263, allocations: 16.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.7263, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7263, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7263, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.7265, allocations: 213.5 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7265, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.7266, allocations: 15.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7266, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.7267, allocations: 7.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7267, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7267, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.7271, allocations: 188.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.7272, allocations: 85.02 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.7272, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7273, allocations: 11.98 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.7274, allocations: 15.97 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.7274, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.7275, allocations: 107.3 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7275, allocations: 192 / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002599/0.7278, allocations: 43.92 kB / 1.024 GB, free: 11.98 MB / 0.7794 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.0001897/0.728, allocations: 127.1 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.7285, allocations: 179.5 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7285, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.7287, allocations: 71.88 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.729, allocations: 8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.7296, allocations: 279.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.7299, allocations: 0.7043 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.7299, allocations: 11.44 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7299, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003309/0.7332, allocations: 1.51 MB / 1.026 GB, free: 9.035 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches