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.001941/0.001941, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002499/0.002499, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.789 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.887/2.887, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] 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.002121/0.002121, allocations: 64.94 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 170 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00306/0.3155, allocations: 1.548 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3168, allocations: 0.6055 MB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.3169, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.317, allocations: 11.86 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.317, allocations: 19.8 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.3175, allocations: 111.7 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3177, allocations: 95.64 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3178, allocations: 28.2 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.318, allocations: 43.91 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.3181, allocations: 47.7 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3181, allocations: 8 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3182, allocations: 91.89 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.3183, allocations: 23.92 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.3183, allocations: 27.86 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3186, allocations: 157.1 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3186, allocations: 3.938 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3186, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3186, allocations: 4 kB / 1.285 GB, free: 9.703 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.0007697/0.3194, allocations: 383.4 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3194, allocations: 12.03 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3195, allocations: 34.75 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3197, allocations: 32.86 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.32, allocations: 138.4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.32, allocations: 384 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.32, allocations: 8.375 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3203, allocations: 113.7 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3203, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3204, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3204, allocations: 4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3207, allocations: 87.91 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.3214, allocations: 303.8 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3217, allocations: 94.48 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3219, allocations: 52.88 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3219, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.3222, allocations: 115.3 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3222, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000698/0.3229, allocations: 209.4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.323, allocations: 59.58 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3231, allocations: 157 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3232, allocations: 29.7 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.3232, allocations: 108 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3233, allocations: 23.84 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3233, allocations: 26 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3235, allocations: 322.8 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.3237, allocations: 89.64 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3239, allocations: 89.59 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.3243, allocations: 142.5 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3243, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005517/0.3248, allocations: 232.8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.3249, allocations: 29.7 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3249, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3249, allocations: 8 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.325, allocations: 19.97 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.325, allocations: 3.938 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3252, allocations: 23.86 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3252, allocations: 4 kB / 1.288 GB, free: 6.566 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.0001184/0.3253, allocations: 121.8 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3253, allocations: 7.953 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.3254, allocations: 12.72 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3254, allocations: 8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3254, allocations: 7.922 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3254, allocations: 4 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3256, allocations: 156.7 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3256, allocations: 3.938 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3257, allocations: 19.97 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3257, allocations: 3.938 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.3262, allocations: 180.9 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.3263, allocations: 7.953 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3263, allocations: 7.984 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3264, allocations: 15.98 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3265, allocations: 15.92 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3265, allocations: 3.984 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.3266, allocations: 103.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3266, allocations: 4 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002545/0.3268, allocations: 47.83 kB / 1.289 GB, free: 5.77 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.000857/0.3277, allocations: 0.7333 MB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.3282, allocations: 209 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3282, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.3284, allocations: 59.89 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3286, allocations: 15.92 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3312, allocations: 1.832 MB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.411e-05/0.3313, allocations: 85.31 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.3314, allocations: 19.97 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.3315, allocations: 27.42 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3315, allocations: 0 / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.3686, allocations: 3.408 MB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 11.25 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB " [Timeout remaining time 288] (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.348590342793614]