Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008093/0.008093, allocations: 102.8 kB / 15.74 MB, free: 6.066 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.001695/0.001695, allocations: 188.2 kB / 16.67 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9225/0.9239, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002973/0.9268, allocations: 1.499 MB / 1.222 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.9283, allocations: 0.7526 MB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.9283, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.9284, allocations: 3.938 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.9284, allocations: 15.86 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.9291, allocations: 119.6 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.9292, allocations: 75.77 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.9293, allocations: 8.188 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.9294, allocations: 43.83 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.9295, allocations: 35.84 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.9295, allocations: 8 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.9297, allocations: 91.91 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.9298, allocations: 15.92 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.9298, allocations: 35.84 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.9301, allocations: 148 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9301, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9301, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9301, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 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.0006623/0.9308, allocations: 458.4 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9308, allocations: 8.031 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.9308, allocations: 8.891 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.931, allocations: 172.3 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.931, allocations: 4.375 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.931, allocations: 4.375 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.9312, allocations: 77.7 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9312, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.9313, allocations: 8 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9313, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.9314, allocations: 35.97 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.9319, allocations: 304.7 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.9321, allocations: 46.55 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.9322, allocations: 40.91 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.9322, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.9324, allocations: 75.38 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.9324, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000428/0.9328, allocations: 141.6 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9329, allocations: 59.47 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.933, allocations: 134.3 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.933, allocations: 25.7 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.9331, allocations: 100.1 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.9331, allocations: 15.84 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.9331, allocations: 29.64 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9333, allocations: 326.7 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.9333, allocations: 19.98 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.9334, allocations: 65.12 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.9336, allocations: 89.08 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9336, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.9338, allocations: 113.5 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9338, allocations: 11.98 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9338, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.9339, allocations: 8.156 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.934, allocations: 11.94 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.934, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.934, allocations: 15.98 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.934, allocations: 8 kB / 1.226 GB, free: 12.63 MB / 0.9512 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.p,$PRE.bli.p,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 9.248e-05/0.9341, allocations: 125.2 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.9342, allocations: 7.953 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.9342, allocations: 8.375 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9342, allocations: 11.92 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9342, allocations: 4 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9342, allocations: 0 / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.9347, allocations: 382.5 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9347, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.9347, allocations: 4 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9348, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.9348, allocations: 7.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9348, allocations: 3.938 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9348, allocations: 7.938 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.9351, allocations: 215.4 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.9351, allocations: 85 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.9351, allocations: 0 / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.9352, allocations: 11.92 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.9353, allocations: 8 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.9353, allocations: 7.984 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.9353, allocations: 96.27 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9353, allocations: 0 / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003165/0.9357, allocations: 35.94 kB / 1.227 GB, free: 11.53 MB / 0.9512 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 (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.0003518/0.936, allocations: 169.5 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.9362, allocations: 75.83 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9362, allocations: 4 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.9363, allocations: 27.98 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.9366, allocations: 7.984 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.9371, allocations: 200.4 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.9373, allocations: 0.6923 MB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.9374, allocations: 7.984 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.9374, allocations: 11.44 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of SimCode: time 4.6e-07/0.9374, allocations: 0 / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.004394/0.9418, allocations: 1.509 MB / 1.229 GB, free: 8.801 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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