Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 193.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6781, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00235/0.6805, allocations: 1.484 MB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.6816, allocations: 0.7328 MB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.6816, allocations: 1.375 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.6816, allocations: 3.938 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.6817, allocations: 17.23 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.6822, allocations: 113.5 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.6823, allocations: 73.62 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.6824, allocations: 14.19 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.6824, allocations: 36.28 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.6825, allocations: 33.97 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.6825, allocations: 6.188 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.6827, allocations: 96.78 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.6827, allocations: 10.45 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.6828, allocations: 36.45 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.683, allocations: 128.2 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.683, allocations: 7.938 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.683, allocations: 0 / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.683, allocations: 1.406 kB / 0.9523 GB, free: 7.004 MB / 0.7169 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.0004849/0.6835, allocations: 452 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.6835, allocations: 13.84 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.6836, allocations: 8.75 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.6837, allocations: 176.5 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.6837, allocations: 1.688 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6837, allocations: 8.188 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.6839, allocations: 68.84 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6839, allocations: 0 / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6839, allocations: 3.984 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6839, allocations: 2.219 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.6841, allocations: 36.02 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.6845, allocations: 305.7 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6846, allocations: 43.91 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.6847, allocations: 39.33 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.6847, allocations: 1.406 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.6849, allocations: 76.97 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6849, allocations: 0 / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003708/0.6853, allocations: 139.4 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.6853, allocations: 53.78 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.6854, allocations: 132.2 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.6854, allocations: 35.05 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.6855, allocations: 86.73 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6855, allocations: 14.28 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.6855, allocations: 26.02 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.6856, allocations: 325.2 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.6856, allocations: 20.02 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.6857, allocations: 61.67 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.6859, allocations: 97.47 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6859, allocations: 0 / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001968/0.6861, allocations: 112.5 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.6861, allocations: 5.094 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6861, allocations: 2.281 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6861, allocations: 2.219 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.6862, allocations: 18.05 kB / 0.9546 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6862, allocations: 5.312 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.6863, allocations: 12.09 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.6863, allocations: 3.938 kB / 0.9546 GB, free: 4.785 MB / 0.7169 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 6.433e-05/0.6864, allocations: 125.6 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.6864, allocations: 5.969 kB / 0.9547 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.6864, allocations: 11.38 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6864, allocations: 48 / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6864, allocations: 7.984 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6864, allocations: 1.062 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.6868, allocations: 380.9 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6868, allocations: 1.281 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.6869, allocations: 7.516 kB / 0.9551 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6869, allocations: 0 / 0.9551 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.6869, allocations: 1.125 kB / 0.9551 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6869, allocations: 5.375 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6869, allocations: 11.88 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.6871, allocations: 208.1 kB / 0.9553 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.6872, allocations: 91.45 kB / 0.9554 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.6872, allocations: 1.5 kB / 0.9554 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.6873, allocations: 5.359 kB / 0.9554 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.6873, allocations: 6.875 kB / 0.9554 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.6873, allocations: 6.938 kB / 0.9554 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.6874, allocations: 95.73 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6874, allocations: 1.562 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003069/0.6877, allocations: 39.27 kB / 0.9555 GB, free: 3.863 MB / 0.7169 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.0002897/0.688, allocations: 159.9 kB / 0.9557 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.6882, allocations: 72.59 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6882, allocations: 1.344 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.6883, allocations: 39.84 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.6886, allocations: 3.625 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.689, allocations: 191.9 kB / 0.956 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.6891, allocations: 0.6923 MB / 0.9567 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.6891, allocations: 3.344 kB / 0.9567 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.6891, allocations: 10.81 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6892, allocations: 0 / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.003619/0.6928, allocations: 1.45 MB / 0.9581 GB, free: 2.07 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time