Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001204/0.001204, allocations: 99.5 kB / 16.02 MB, free: 76 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.001573/0.001573, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7099, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001767/0.7117, allocations: 1.207 MB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.713, allocations: 0.7131 MB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.7131, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.7132, allocations: 7.922 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.7132, allocations: 3.938 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.7138, allocations: 103.8 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.714, allocations: 67.72 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.7141, allocations: 16 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.7142, allocations: 27.91 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.7143, allocations: 27.84 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.7143, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.7145, allocations: 91.84 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.7145, allocations: 15.92 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.7146, allocations: 61.55 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.7148, allocations: 89.8 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7148, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7148, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.7148, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.7794 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.000591/0.7154, allocations: 430.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7154, allocations: 12.03 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.7155, allocations: 4.844 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.7156, allocations: 180.2 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.7157, allocations: 4.375 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.7157, allocations: 4.375 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.7159, allocations: 93.81 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7159, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7159, allocations: 3.984 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.716, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.7161, allocations: 35.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.7167, allocations: 300.8 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.7169, allocations: 50.5 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.717, allocations: 36.95 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.717, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.7172, allocations: 87.28 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7172, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004315/0.7177, allocations: 141.7 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.7177, allocations: 59.34 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7179, allocations: 125.7 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7179, allocations: 29.7 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.718, allocations: 84.14 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.718, allocations: 15.81 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.718, allocations: 21.7 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7182, allocations: 326.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.7183, allocations: 23.98 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.7184, allocations: 65.14 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.7186, allocations: 101.1 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7187, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003014/0.719, allocations: 121.4 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.719, allocations: 7.938 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.719, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.719, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.7191, allocations: 19.92 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7191, allocations: 160 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.7192, allocations: 15.94 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.7192, allocations: 8 kB / 1.028 GB, free: 10.78 MB / 0.7794 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.000114/0.7194, allocations: 124 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7194, allocations: 7.906 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.7194, allocations: 12.36 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.7195, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7195, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7195, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.72, allocations: 382.8 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.72, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.7201, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7201, allocations: 3.938 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.7201, allocations: 7.984 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7201, allocations: 7.938 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7201, allocations: 3.938 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.7204, allocations: 211.4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.7205, allocations: 88.95 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.7205, allocations: 0 / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.7206, allocations: 8 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.7207, allocations: 15.95 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7207, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.7207, allocations: 91.92 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7207, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003332/0.7211, allocations: 39.98 kB / 1.029 GB, free: 9.68 MB / 0.7794 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.0003767/0.7215, allocations: 170.1 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.7217, allocations: 75.89 kB / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7217, allocations: 0 / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.7219, allocations: 36.3 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.7222, allocations: 18.34 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.7226, allocations: 236.8 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.7229, allocations: 0.697 MB / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.723, allocations: 11.44 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.723, allocations: 0 / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.003754/0.7267, allocations: 1.561 MB / 1.032 GB, free: 6.832 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches