Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001615/0.001615, allocations: 118.6 kB / 16.81 MB, free: 5.758 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.00173/0.00173, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.485/1.485, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 66.91 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4038, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002982/0.4068, allocations: 1.547 MB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.408, allocations: 0.5776 MB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.408, allocations: 3.938 kB / 1.264 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.4081, allocations: 11.88 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.4082, allocations: 19.84 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.4086, allocations: 95.7 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.4088, allocations: 91.77 kB / 1.264 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.4089, allocations: 12.22 kB / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.4091, allocations: 55.77 kB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4092, allocations: 43.83 kB / 1.264 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.4092, allocations: 8 kB / 1.264 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4094, allocations: 87.84 kB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.4094, allocations: 19.92 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.4095, allocations: 47.72 kB / 1.265 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.4098, allocations: 135.5 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4098, allocations: 4 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4098, allocations: 0 / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4098, allocations: 0 / 1.265 GB, free: 10.21 MB / 0.9825 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.0009995/0.4108, allocations: 456.6 kB / 1.265 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4108, allocations: 8.625 kB / 1.265 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.4109, allocations: 16.84 kB / 1.265 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4111, allocations: 196.1 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4112, allocations: 384 / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4112, allocations: 20.3 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.4116, allocations: 109.9 kB / 1.265 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4116, allocations: 0 / 1.265 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4116, allocations: 3.984 kB / 1.265 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4116, allocations: 4 kB / 1.265 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.412, allocations: 91.86 kB / 1.266 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.4127, allocations: 344.7 kB / 1.266 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.413, allocations: 86.52 kB / 1.266 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4132, allocations: 60.81 kB / 1.266 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4132, allocations: 0 / 1.266 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.4136, allocations: 111.3 kB / 1.266 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.4136, allocations: 0 / 1.266 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007036/0.4143, allocations: 217.5 kB / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4143, allocations: 55.41 kB / 1.266 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4145, allocations: 136.1 kB / 1.267 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4145, allocations: 29.7 kB / 1.267 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.4146, allocations: 104 kB / 1.267 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4146, allocations: 27.8 kB / 1.267 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.4147, allocations: 25.72 kB / 1.267 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4148, allocations: 326.8 kB / 1.267 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.415, allocations: 55.95 kB / 1.267 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4152, allocations: 63.94 kB / 1.267 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.4156, allocations: 142.4 kB / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4156, allocations: 0 / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004943/0.4161, allocations: 199.7 kB / 1.267 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4161, allocations: 33.7 kB / 1.267 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.4161, allocations: 3.984 kB / 1.268 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4162, allocations: 0 / 1.268 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4163, allocations: 20.08 kB / 1.268 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4163, allocations: 7.875 kB / 1.268 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.4165, allocations: 19.92 kB / 1.268 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.4165, allocations: 7.984 kB / 1.268 GB, free: 7.035 MB / 0.9825 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.000136/0.4166, allocations: 126.6 kB / 1.268 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.4166, allocations: 11.91 kB / 1.268 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.4167, allocations: 16.7 kB / 1.268 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4167, allocations: 0 / 1.268 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4167, allocations: 4 kB / 1.268 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.4167, allocations: 81.06 kB / 1.268 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.4168, allocations: 7.938 kB / 1.268 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4169, allocations: 15.98 kB / 1.268 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.417, allocations: 11.97 kB / 1.268 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000575/0.4176, allocations: 244.8 kB / 1.268 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005397/0.4181, allocations: 330.6 kB / 1.268 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000197/0.4183, allocations: 59.95 kB / 1.268 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001094/0.4184, allocations: 116.9 kB / 1.269 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of Backend: time 2e-07/0.4184, allocations: 0 / 1.269 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007292/0.4191, allocations: 215.6 kB / 1.269 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008311/0.42, allocations: 0.6489 MB / 1.269 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of Templates: time 0.005304/0.4253, allocations: 1.748 MB / 1.271 GB, free: 3.301 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches