Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001433/0.001433, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001546/0.001546, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.56 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002966/0.3297, allocations: 1.508 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3311, allocations: 0.7632 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.3312, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3312, allocations: 3.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.3313, allocations: 15.86 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.3319, allocations: 119.6 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.332, allocations: 71.78 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3321, allocations: 16.17 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.3322, allocations: 39.84 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.3323, allocations: 27.91 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3323, allocations: 11.94 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.3326, allocations: 95.84 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.3326, allocations: 11.98 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3327, allocations: 35.8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3329, allocations: 151.5 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3329, allocations: 4 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3329, allocations: 0 / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3329, allocations: 0 / 1.03 GB, free: 15.18 MB / 0.8106 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.0005731/0.3335, allocations: 438.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3336, allocations: 8.031 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.3336, allocations: 12.84 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3337, allocations: 176.2 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3338, allocations: 4.375 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3338, allocations: 4.375 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.334, allocations: 77.78 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.334, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.334, allocations: 3.984 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.334, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3342, allocations: 39.91 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.3347, allocations: 308.7 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3348, allocations: 54.5 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.3349, allocations: 32.97 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3349, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3351, allocations: 87.3 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3351, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004023/0.3355, allocations: 149.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3356, allocations: 55.41 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3357, allocations: 125.6 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3357, allocations: 29.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3358, allocations: 88.14 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3358, allocations: 23.81 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3359, allocations: 29.7 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.336, allocations: 330.7 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.3361, allocations: 23.92 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.3362, allocations: 61.14 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3363, allocations: 89.06 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3363, allocations: 4 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.3366, allocations: 113.5 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3366, allocations: 8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3366, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3366, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.3367, allocations: 19.92 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3367, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.3368, allocations: 7.906 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3368, allocations: 4 kB / 1.032 GB, free: 12.54 MB / 0.8106 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 0.0001015/0.3369, allocations: 133.8 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.3369, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.337, allocations: 4.375 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.337, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.337, allocations: 3.938 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.337, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.3375, allocations: 386.6 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3375, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3375, allocations: 15.98 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3375, allocations: 4 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3376, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3376, allocations: 3.938 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3376, allocations: 80 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3379, allocations: 223.3 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3379, allocations: 77.11 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3379, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.338, allocations: 7.938 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3381, allocations: 7.984 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3381, allocations: 4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.3382, allocations: 95.27 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3382, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003013/0.3385, allocations: 39.89 kB / 1.033 GB, free: 11.44 MB / 0.8106 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.0003466/0.3388, allocations: 167.4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3391, allocations: 71.89 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3391, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3392, allocations: 35.92 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3395, allocations: 12.25 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3399, allocations: 192.4 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3402, allocations: 0.6885 MB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.3402, allocations: 7.938 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3402, allocations: 15.42 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3402, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.004064/0.3443, allocations: 1.5 MB / 1.035 GB, free: 8.742 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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