Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 250 MB, free: 13.56 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 489.7 MB / 0.7761 GB, free: 33.66 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 69.16 kB / 1.127 GB, free: 37.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3109, allocations: 172.1 MB / 1.295 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002452/0.3134, allocations: 0.8788 MB / 1.296 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000323/0.3137, allocations: 87.69 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3138, allocations: 4 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3139, allocations: 23.73 kB / 1.296 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3141, allocations: 15.86 kB / 1.296 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.25e-05/0.3142, allocations: 39.97 kB / 1.296 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.3145, allocations: 255.5 kB / 1.296 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.3149, allocations: 234.3 kB / 1.296 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.315, allocations: 135.4 kB / 1.296 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3153, allocations: 143.3 kB / 1.297 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.3153, allocations: 32 kB / 1.297 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.3154, allocations: 32 kB / 1.297 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3155, allocations: 83.77 kB / 1.297 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3157, allocations: 155.1 kB / 1.297 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.3162, allocations: 462 kB / 1.297 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3162, allocations: 4 kB / 1.297 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3162, allocations: 0 / 1.297 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3162, allocations: 0 / 1.297 GB, free: 9.207 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009061/0.3171, allocations: 0.6038 MB / 1.298 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3171, allocations: 8.031 kB / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.3172, allocations: 48.59 kB / 1.298 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.3177, allocations: 336.3 kB / 1.298 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.3178, allocations: 36.97 kB / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.3178, allocations: 36.38 kB / 1.298 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.3186, allocations: 392.2 kB / 1.299 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3186, allocations: 192 / 1.299 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.3186, allocations: 19.94 kB / 1.299 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3186, allocations: 8 kB / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.3191, allocations: 311.5 kB / 1.299 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3208, allocations: 1.054 MB / 1.3 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3209, allocations: 85.22 kB / 1.3 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.321, allocations: 45.73 kB / 1.3 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.321, allocations: 0 / 1.3 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.321, allocations: 38.55 kB / 1.3 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.321, allocations: 0 / 1.3 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003661/0.3214, allocations: 169.4 kB / 1.3 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3215, allocations: 81.05 kB / 1.3 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.3221, allocations: 0.5092 MB / 1.301 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.3222, allocations: 25.7 kB / 1.301 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3224, allocations: 211.7 kB / 1.301 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3224, allocations: 7.906 kB / 1.301 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.3225, allocations: 57.7 kB / 1.301 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3226, allocations: 346.8 kB / 1.302 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3228, allocations: 63.95 kB / 1.302 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3229, allocations: 91.38 kB / 1.302 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3231, allocations: 113.6 kB / 1.302 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3231, allocations: 0 / 1.302 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003311/0.3234, allocations: 217.3 kB / 1.302 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3234, allocations: 4 kB / 1.302 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3234, allocations: 4.188 kB / 1.302 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3234, allocations: 4 kB / 1.302 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3236, allocations: 35.86 kB / 1.302 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3236, allocations: 0 / 1.302 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.3237, allocations: 35.67 kB / 1.302 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3237, allocations: 8 kB / 1.302 GB, free: 3.992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0002154/0.3239, allocations: 204 kB / 1.302 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.324, allocations: 39.7 kB / 1.302 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3242, allocations: 114 kB / 1.303 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3242, allocations: 7.938 kB / 1.303 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3242, allocations: 0 / 1.303 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3242, allocations: 0 / 1.303 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3249, allocations: 0.6608 MB / 1.303 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3249, allocations: 4 kB / 1.303 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.3249, allocations: 4 kB / 1.303 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3249, allocations: 0 / 1.303 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3249, allocations: 0 / 1.303 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3249, allocations: 4 kB / 1.303 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3249, allocations: 0 / 1.303 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3251, allocations: 139.5 kB / 1.303 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3252, allocations: 128.8 kB / 1.303 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3252, allocations: 4 kB / 1.303 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.3253, allocations: 4 kB / 1.303 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.3253, allocations: 3.984 kB / 1.303 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3253, allocations: 4 kB / 1.303 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004668/0.3258, allocations: 395 kB / 1.304 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3258, allocations: 0 / 1.304 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002467/0.326, allocations: 36 kB / 1.304 GB, free: 2.129 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001199/0.3261, allocations: 103.7 kB / 1.304 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.3264, allocations: 103.8 kB / 1.304 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3264, allocations: 0 / 1.304 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.3264, allocations: 16.12 kB / 1.304 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3267, allocations: 38.55 kB / 1.304 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.3275, allocations: 0.5423 MB / 1.305 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3279, allocations: 0.7871 MB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.328, allocations: 23.44 kB / 1.305 GB, free: 452 kB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.328, allocations: 0 / 1.305 GB, free: 452 kB / 0.9981 GB Notification: Performance of Templates: time 0.006041/0.334, allocations: 3.816 MB / 1.309 GB, free: 12.63 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches