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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 195.2 kB / 16.53 MB, free: 6.656 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 64.8 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2424, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002553/0.245, allocations: 1.551 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.2459, allocations: 0.5745 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.246, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.2461, allocations: 11.86 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.2462, allocations: 23.8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2465, allocations: 95.77 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.2466, allocations: 95.64 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.2467, allocations: 20.2 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2468, allocations: 43.91 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.2469, allocations: 47.77 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.247, allocations: 8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.2471, allocations: 67.88 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.2471, allocations: 19.86 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2472, allocations: 35.8 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2474, allocations: 139.8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2474, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2474, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2474, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 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.0007285/0.2481, allocations: 460.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2482, allocations: 8.031 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2482, allocations: 30.75 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.2482, allocations: 16.75 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2484, allocations: 188.2 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2484, allocations: 8.375 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2485, allocations: 384 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.2488, allocations: 113.7 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2488, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2488, allocations: 7.938 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.2488, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2491, allocations: 87.91 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.2497, allocations: 348.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.25, allocations: 102.4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2502, allocations: 56.88 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2502, allocations: 4 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.2505, allocations: 107.3 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2505, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006259/0.2512, allocations: 209.4 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2512, allocations: 55.39 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2513, allocations: 139.9 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2514, allocations: 29.98 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.2514, allocations: 104 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2515, allocations: 27.69 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.2515, allocations: 29.64 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2516, allocations: 330.8 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2518, allocations: 51.95 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.252, allocations: 63.89 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.2524, allocations: 142.5 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2524, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000448/0.2528, allocations: 203.2 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.2529, allocations: 33.7 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2529, allocations: 3.938 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2529, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.253, allocations: 19.97 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.253, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2532, allocations: 19.92 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2532, allocations: 7.938 kB / 1.07 GB, free: 8.293 MB / 0.8262 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 9.392e-05/0.2533, allocations: 121.9 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.2533, allocations: 7.906 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2534, allocations: 12.72 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2534, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2534, allocations: 0 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2534, allocations: 7.984 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2536, allocations: 201.5 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2536, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2537, allocations: 19.97 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2537, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2537, allocations: 4 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2537, allocations: 3.938 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2537, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.2541, allocations: 180.9 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.2542, allocations: 85.02 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2542, allocations: 4 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2544, allocations: 16.16 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.2544, allocations: 15.98 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.2544, allocations: 3.938 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.2545, allocations: 121 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.743e-06/0.2545, allocations: 0 / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002241/0.2547, allocations: 39.94 kB / 1.07 GB, free: 7.367 MB / 0.8262 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.0007372/0.2555, allocations: 0.7333 MB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.256, allocations: 187.3 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.256, allocations: 0 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.2562, allocations: 63.89 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.2563, allocations: 23.91 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2585, allocations: 1.7 MB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2588, allocations: 0.7 MB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.2589, allocations: 15.98 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.259, allocations: 27.42 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.259, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7385/0.9975, allocations: 2.715 MB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.04, allocations: 7.297 kB / 1.076 GB, free: 1.121 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > 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