Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001351/0.001351, 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.001512/0.001512, allocations: 210.5 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.805 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.747/2.747, allocations: 476 MB / 0.7699 GB, free: 4.746 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.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex",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.002119/0.002119, allocations: 66.31 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.308, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.00244/0.3105, allocations: 0.8444 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.3108, allocations: 89.47 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.3109, allocations: 4 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.311, allocations: 23.73 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3111, allocations: 19.8 kB / 1.284 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.292e-05/0.3112, allocations: 35.97 kB / 1.284 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.3116, allocations: 259.5 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.3119, allocations: 170.9 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.312, allocations: 139.4 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.3122, allocations: 147.3 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.3123, allocations: 32 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.3123, allocations: 32 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.3124, allocations: 83.77 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3125, allocations: 127.2 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.313, allocations: 463.5 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.313, allocations: 3.938 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.313, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.313, allocations: 0 / 1.285 GB, free: 10.08 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008207/0.3139, allocations: 0.5285 MB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3139, allocations: 12.03 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.926e-05/0.314, allocations: 70.72 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.3141, allocations: 40.66 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.3146, allocations: 278.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.3146, allocations: 33.03 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3147, allocations: 32.38 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.3153, allocations: 392.2 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3153, allocations: 3.938 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.3153, allocations: 20 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3153, allocations: 8 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3158, allocations: 307.5 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3173, allocations: 0.9621 MB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3175, allocations: 85.16 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.3176, allocations: 45.78 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3176, allocations: 7.938 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3176, allocations: 34.56 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3176, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003523/0.318, allocations: 173.3 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.3181, allocations: 81.09 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.3187, allocations: 0.5091 MB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3187, allocations: 29.7 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3189, allocations: 207.7 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3189, allocations: 19.92 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.319, allocations: 53.66 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3192, allocations: 346.8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3193, allocations: 63.95 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3194, allocations: 101.4 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3196, allocations: 113.7 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3196, allocations: 0 / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003388/0.3199, allocations: 213.3 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3199, allocations: 4 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3199, allocations: 0 / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.32, allocations: 7.938 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3201, allocations: 23.98 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3201, allocations: 7.938 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.3202, allocations: 35.62 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3202, allocations: 12.19 kB / 1.29 GB, free: 5.039 MB / 0.9825 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.0002124/0.3204, allocations: 199.8 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3205, allocations: 35.75 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3207, allocations: 114.1 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3207, allocations: 8.312 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3207, allocations: 0 / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3207, allocations: 0 / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.3214, allocations: 0.6088 MB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3214, allocations: 7.984 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.3215, allocations: 4 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3215, allocations: 0 / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3215, allocations: 0 / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3215, allocations: 7.984 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3215, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3216, allocations: 135.3 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3217, allocations: 43.75 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3218, allocations: 11.94 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.3218, allocations: 8.062 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3218, allocations: 0 / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3218, allocations: 4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004452/0.3223, allocations: 391 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3223, allocations: 0 / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000242/0.3225, allocations: 39.95 kB / 1.291 GB, free: 3.336 MB / 0.9825 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.0004927/0.323, allocations: 0.6693 MB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3232, allocations: 103.9 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3232, allocations: 4 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.3233, allocations: 19.94 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3235, allocations: 28.09 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3269, allocations: 2.9 MB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3271, allocations: 187.8 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.3273, allocations: 58.94 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3274, allocations: 91.41 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3274, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.3614, allocations: 6.338 MB / 1.301 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.97, allocations: 13.86 kB / 1.301 GB, free: 8.938 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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 [Calling sys.exit(0), Time elapsed: 18.57055469090119]