Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 193.6 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 443.4 MB / 0.7321 GB, free: 12.35 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 67.83 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.015, allocations: 160.8 MB / 1.218 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00285/1.018, allocations: 1.497 MB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001372/1.019, allocations: 0.7431 MB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/1.019, allocations: 5.25 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/1.019, allocations: 3.938 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/1.019, allocations: 17.16 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/1.02, allocations: 123 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/1.02, allocations: 69.31 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/1.02, allocations: 11.64 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/1.02, allocations: 32.88 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/1.02, allocations: 34.34 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/1.02, allocations: 10.16 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/1.021, allocations: 136.2 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/1.021, allocations: 18.78 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/1.021, allocations: 31.42 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/1.021, allocations: 132.7 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.021, allocations: 0 / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.223e-06/1.021, allocations: 0.9375 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.059e-06/1.021, allocations: 4 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000714/1.022, allocations: 453 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.022, allocations: 9.312 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/1.022, allocations: 16.27 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/1.022, allocations: 172 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.022, allocations: 2.75 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/1.022, allocations: 12.72 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/1.022, allocations: 76.48 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.022, allocations: 0 / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.022, allocations: 3.984 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/1.022, allocations: 1.062 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/1.022, allocations: 36.78 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/1.023, allocations: 304.9 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.023, allocations: 42.69 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/1.023, allocations: 33.61 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/1.023, allocations: 1.188 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.023, allocations: 80.91 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.023, allocations: 0.8438 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004572/1.024, allocations: 139.2 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/1.024, allocations: 52.94 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.024, allocations: 121.1 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.024, allocations: 30.77 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/1.024, allocations: 91.34 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/1.024, allocations: 14.12 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/1.024, allocations: 29.36 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.024, allocations: 325.3 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/1.024, allocations: 24.98 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/1.025, allocations: 61.92 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.025, allocations: 92.75 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.025, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002279/1.025, allocations: 113.4 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.025, allocations: 8.812 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.025, allocations: 5.969 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.025, allocations: 2.188 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/1.025, allocations: 18.2 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.025, allocations: 9 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/1.025, allocations: 9.031 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.025, allocations: 3.25 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001069/1.025, allocations: 130.4 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/1.025, allocations: 11.11 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/1.025, allocations: 10.41 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.025, allocations: 1.125 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.025, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.025, allocations: 0.9688 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/1.026, allocations: 380.9 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.026, allocations: 1.062 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/1.026, allocations: 7.203 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.026, allocations: 5.031 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.026, allocations: 5.125 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.026, allocations: 4 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.026, allocations: 3.938 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/1.026, allocations: 208.4 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/1.026, allocations: 83.19 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.026, allocations: 1.156 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/1.026, allocations: 11.23 kB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/1.026, allocations: 10.31 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.026, allocations: 5.984 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.229e-05/1.026, allocations: 88.91 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/1.026, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003173/1.027, allocations: 44.27 kB / 1.224 GB, free: 14.31 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003504/1.027, allocations: 163.8 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002323/1.027, allocations: 66.62 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.027, allocations: 0 / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/1.028, allocations: 38.92 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/1.028, allocations: 16.3 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/1.028, allocations: 206.2 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/1.029, allocations: 0.6881 MB / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.16e-05/1.029, allocations: 3.875 kB / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/1.029, allocations: 10.59 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/1.029, allocations: 0 / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.004767/1.033, allocations: 1.469 MB / 1.227 GB, free: 12.5 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 8.920882989652455]