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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006741/0.006741, allocations: 102 kB / 15.73 MB, free: 6.062 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.001794/0.001794, allocations: 192 kB / 16.67 MB, free: 5.973 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.298/2.298, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 63.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5943, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002273/0.5966, allocations: 1.552 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.5974, allocations: 0.5765 MB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.5975, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.536e-05/0.5976, allocations: 11.86 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.5976, allocations: 23.8 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.598, allocations: 91.77 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.5981, allocations: 95.69 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.5982, allocations: 20.17 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.5983, allocations: 47.89 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.5984, allocations: 47.77 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5984, allocations: 4 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.5986, allocations: 95.84 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.5986, allocations: 15.92 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.5987, allocations: 39.78 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.5989, allocations: 147.1 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5989, allocations: 0 / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5989, allocations: 0 / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5989, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 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.0007186/0.5996, allocations: 460.6 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.5997, allocations: 8.922 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.5997, allocations: 30.75 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.5997, allocations: 16.84 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.5999, allocations: 194.4 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5999, allocations: 8.359 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5999, allocations: 8.312 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.6002, allocations: 117.6 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6002, allocations: 0 / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6003, allocations: 4 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6003, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.6006, allocations: 83.91 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.6012, allocations: 348.7 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.6015, allocations: 94.44 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.6017, allocations: 56.88 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.6017, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.602, allocations: 111.3 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.602, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006134/0.6026, allocations: 213.5 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.6027, allocations: 55.41 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.6028, allocations: 141.8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.6028, allocations: 25.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.6029, allocations: 100.1 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6029, allocations: 23.8 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.603, allocations: 25.7 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6031, allocations: 334.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.6033, allocations: 55.89 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6035, allocations: 59.95 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.6038, allocations: 142.5 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6038, allocations: 4.484 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004417/0.6043, allocations: 203.1 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6043, allocations: 33.7 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6043, allocations: 96 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.6043, allocations: 3.938 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6045, allocations: 19.97 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6045, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.6046, allocations: 27.92 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.6046, allocations: 15.91 kB / 1.172 GB, free: 13.81 MB / 0.9044 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 8.979e-05/0.6047, allocations: 121.8 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.6048, allocations: 11.91 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.6048, allocations: 12.72 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6048, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6048, allocations: 4 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6048, allocations: 3.984 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.605, allocations: 197.6 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.605, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6051, allocations: 23.91 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6051, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6051, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6052, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.6052, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.6056, allocations: 180.9 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.6056, allocations: 85.06 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.6057, allocations: 7.938 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6058, allocations: 15.97 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.6059, allocations: 15.92 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.6059, allocations: 7.984 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.606, allocations: 121.4 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.606, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002087/0.6062, allocations: 35.94 kB / 1.173 GB, free: 12.88 MB / 0.9044 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.0007411/0.6069, allocations: 0.7294 MB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.6074, allocations: 183.3 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6074, allocations: 0 / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.6076, allocations: 63.89 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.6078, allocations: 23.83 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.61, allocations: 1.703 MB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.6103, allocations: 0.7007 MB / 1.176 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.6103, allocations: 11.98 kB / 1.176 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.6104, allocations: 27.42 kB / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6104, allocations: 0 / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/1.758, allocations: 2.778 MB / 1.179 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.27, allocations: 18.86 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > 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