Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, 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.001594/0.001594, allocations: 208 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.057/3.057, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_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.002029/0.002029, allocations: 70.08 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00285/0.3394, allocations: 1.554 MB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3406, allocations: 0.6155 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3406, allocations: 4 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3407, allocations: 11.86 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.3408, allocations: 15.81 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3412, allocations: 107.8 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3414, allocations: 103.7 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3415, allocations: 16.5 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3417, allocations: 47.73 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.3418, allocations: 43.75 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3418, allocations: 8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.342, allocations: 95.84 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.342, allocations: 15.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.3421, allocations: 39.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.3423, allocations: 155.4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3423, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3423, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3423, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 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.0007717/0.3431, allocations: 379.5 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3431, allocations: 12.03 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.3432, allocations: 38.73 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.3434, allocations: 36.83 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.3437, allocations: 138.3 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3437, allocations: 8.375 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3437, allocations: 4.375 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.344, allocations: 101.7 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.344, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3441, allocations: 8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.3441, allocations: 4 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.3444, allocations: 91.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.345, allocations: 303.8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3453, allocations: 90.45 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3455, allocations: 60.88 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3455, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.3458, allocations: 115.3 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3458, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006546/0.3465, allocations: 217.5 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3465, allocations: 55.41 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3466, allocations: 138.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3467, allocations: 29.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.3467, allocations: 108 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3468, allocations: 23.84 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.3468, allocations: 25.7 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.347, allocations: 322.8 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3472, allocations: 81.66 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3474, allocations: 89.66 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3477, allocations: 146.4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3477, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004838/0.3482, allocations: 240.9 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.3482, allocations: 31.58 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3482, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3483, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3484, allocations: 23.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3484, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3485, allocations: 15.92 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3486, allocations: 7.984 kB / 1.331 GB, free: 12.42 MB / 1.029 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.0001076/0.3487, allocations: 133.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.3487, allocations: 11.91 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.3487, allocations: 8.719 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3487, allocations: 7.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3487, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3487, allocations: 3.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3489, allocations: 152.7 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3489, allocations: 3.984 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.349, allocations: 15.98 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.349, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.349, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.349, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.349, allocations: 7.922 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3495, allocations: 180.9 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3495, allocations: 15.89 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3495, allocations: 3.984 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3496, allocations: 11.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.3497, allocations: 27.91 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3497, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.3498, allocations: 106.5 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002459/0.35, allocations: 43.92 kB / 1.331 GB, free: 11.62 MB / 1.029 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.0008232/0.3509, allocations: 0.7255 MB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.3514, allocations: 220.9 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3514, allocations: 4 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.3516, allocations: 55.94 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3518, allocations: 24.05 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3544, allocations: 1.823 MB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.809e-05/0.3544, allocations: 89.19 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.252e-05/0.3545, allocations: 11.98 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.3546, allocations: 31.42 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3546, allocations: 0 / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3841, allocations: 3.392 MB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.08, allocations: 13.22 kB / 1.338 GB, free: 5.195 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.514657090883702]