Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001817, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.32 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.819/2.819, allocations: 437.7 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7394, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002093/0.7415, allocations: 1.207 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.7429, allocations: 0.6861 MB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.743, allocations: 3.938 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.743, allocations: 7.984 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.7431, allocations: 11.88 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.7437, allocations: 91.77 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.7439, allocations: 67.77 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.744, allocations: 16.16 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.7441, allocations: 27.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.7442, allocations: 39.84 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.7442, allocations: 3.984 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.7445, allocations: 79.92 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.7445, allocations: 15.91 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.7446, allocations: 33.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.7448, allocations: 97.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.7448, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7448, allocations: 7.938 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7448, allocations: 0 / 1.025 GB, free: 13.68 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.0008717/0.7457, allocations: 447.7 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.7458, allocations: 8.562 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.7458, allocations: 4 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.7461, allocations: 174.9 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.7461, allocations: 8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.7462, allocations: 7.984 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.7464, allocations: 77.61 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7465, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.7465, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7465, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.7467, allocations: 43.91 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.7474, allocations: 304.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.7476, allocations: 50.55 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.7477, allocations: 36.97 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.7477, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.748, allocations: 95.28 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.748, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00047/0.7484, allocations: 149.6 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.7485, allocations: 63.39 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.7486, allocations: 125.5 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.7487, allocations: 29.7 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.7488, allocations: 92.31 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.7488, allocations: 19.75 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.7488, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.749, allocations: 318.8 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.7491, allocations: 27.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.7492, allocations: 65.08 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.7493, allocations: 43.88 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7493, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.7495, allocations: 117.4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7495, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7496, allocations: 8.156 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7496, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.7497, allocations: 19.92 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7497, allocations: 320 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.7498, allocations: 15.98 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.7498, allocations: 4 kB / 1.027 GB, free: 11.11 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.7499, allocations: 117.8 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.7499, allocations: 11.91 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.75, allocations: 8.375 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.75, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.75, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.75, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.7505, allocations: 402.4 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.7505, allocations: 4 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.7506, allocations: 8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7506, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.7506, allocations: 3.984 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.7506, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7506, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.7509, allocations: 235.3 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.751, allocations: 84.95 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.751, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.7511, allocations: 7.984 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.7512, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.7512, allocations: 7.984 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.7513, allocations: 91.27 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7513, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003049/0.7516, allocations: 44 kB / 1.028 GB, free: 9.988 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.p,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.7519, allocations: 163 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.7522, allocations: 80.02 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7522, allocations: 4 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7523, allocations: 35.92 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.7526, allocations: 15.94 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.7531, allocations: 210.3 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.7533, allocations: 0.6887 MB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.7534, allocations: 4.188 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.7534, allocations: 11.44 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7534, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of Templates: time 0.004631/0.7581, allocations: 1.383 MB / 1.03 GB, free: 7.363 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time