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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 217.1 kB / 22.26 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 66.64 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003125/0.3034, allocations: 1.593 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3048, allocations: 0.6445 MB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.3049, allocations: 3.938 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.305, allocations: 15.92 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.3051, allocations: 19.8 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.3056, allocations: 103.7 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3058, allocations: 107.6 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3059, allocations: 8.234 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.3061, allocations: 55.78 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3062, allocations: 51.81 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.3062, allocations: 12 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.3064, allocations: 91.91 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3065, allocations: 23.91 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.3066, allocations: 47.72 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3069, allocations: 150.9 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3069, allocations: 0 / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3069, allocations: 0 / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.3069, allocations: 0 / 1.286 GB, free: 8.77 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.0009618/0.3079, allocations: 387.5 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3079, allocations: 8.031 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.308, allocations: 34.75 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.3083, allocations: 36.86 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3086, allocations: 150.2 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3086, allocations: 384 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3086, allocations: 8.375 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.309, allocations: 113.7 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.309, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.309, allocations: 4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.309, allocations: 4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.3093, allocations: 79.92 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.31, allocations: 323.7 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.3103, allocations: 86.52 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3105, allocations: 52.88 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3105, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.3109, allocations: 123.3 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 5.571e-06/0.3109, allocations: 3.984 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000726/0.3116, allocations: 209.4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3116, allocations: 55.41 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3118, allocations: 152.1 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.3118, allocations: 29.7 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.3119, allocations: 108 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.3119, allocations: 19.86 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.312, allocations: 25.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3121, allocations: 318.8 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3123, allocations: 63.95 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3125, allocations: 51.95 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.3129, allocations: 150.5 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3129, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004693/0.3134, allocations: 203.1 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.3134, allocations: 34.17 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3134, allocations: 80 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3134, allocations: 0 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3136, allocations: 23.97 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3136, allocations: 11.92 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3137, allocations: 23.86 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3137, allocations: 7.984 kB / 1.289 GB, free: 5.703 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.0001148/0.3138, allocations: 121.8 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3139, allocations: 11.91 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.3139, allocations: 20.7 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3139, allocations: 4 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3139, allocations: 3.938 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3139, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3141, allocations: 168.7 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3141, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3142, allocations: 15.98 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3142, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3142, allocations: 4 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3143, allocations: 7.984 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3143, allocations: 3.938 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.3147, allocations: 192.8 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.3148, allocations: 3.953 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3148, allocations: 4 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3149, allocations: 15.98 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.315, allocations: 15.91 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.315, allocations: 4 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.3151, allocations: 114.2 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3151, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002634/0.3153, allocations: 43.89 kB / 1.29 GB, free: 4.891 MB / 0.9825 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.0008763/0.3162, allocations: 0.7333 MB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.3167, allocations: 183.2 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3167, allocations: 0 / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3169, allocations: 55.95 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3172, allocations: 26.36 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3199, allocations: 1.715 MB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3203, allocations: 0.7041 MB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.003e-05/0.3204, allocations: 11.98 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3205, allocations: 27.42 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.3205, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3508, allocations: 2.967 MB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.98, allocations: 19.14 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.44415524904616]