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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001273/0.001273, allocations: 108.6 kB / 15.73 MB, free: 72 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.001483/0.001483, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 55.91 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002412/0.3401, allocations: 1.495 MB / 1.227 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3414, allocations: 0.7554 MB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.3414, allocations: 3.938 kB / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3415, allocations: 3.938 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.3415, allocations: 19.84 kB / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.3421, allocations: 119.6 kB / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3422, allocations: 75.83 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.3423, allocations: 12.17 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.3424, allocations: 43.83 kB / 1.228 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.3424, allocations: 31.84 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3425, allocations: 8 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3427, allocations: 95.84 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.3427, allocations: 15.98 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3428, allocations: 39.78 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.343, allocations: 139.5 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.343, allocations: 4 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.343, allocations: 0 / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.343, allocations: 0 / 1.228 GB, free: 6.352 MB / 0.9825 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.0005759/0.3436, allocations: 454.4 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.3437, allocations: 8.031 kB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3437, allocations: 8.891 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3438, allocations: 172.3 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3438, allocations: 4.375 kB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3439, allocations: 8.375 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3441, allocations: 77.77 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3441, allocations: 0 / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3441, allocations: 0 / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3441, allocations: 3.938 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3442, allocations: 43.97 kB / 1.229 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.3447, allocations: 304.7 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3449, allocations: 54.55 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.345, allocations: 36.91 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.345, allocations: 4 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3452, allocations: 79.3 kB / 1.23 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3452, allocations: 0 / 1.23 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004104/0.3456, allocations: 145.6 kB / 1.23 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3457, allocations: 59.47 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.3458, allocations: 125.8 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3458, allocations: 25.7 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.3458, allocations: 100.1 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3459, allocations: 19.84 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.3459, allocations: 29.64 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.346, allocations: 322.8 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.3461, allocations: 27.92 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.3462, allocations: 65.12 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3464, allocations: 89.08 kB / 1.231 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3464, allocations: 0 / 1.231 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002134/0.3466, allocations: 117.6 kB / 1.231 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3466, allocations: 7.984 kB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3466, allocations: 0 / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3467, allocations: 4 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3467, allocations: 11.94 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3468, allocations: 4 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.3468, allocations: 11.98 kB / 1.231 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3468, allocations: 4 kB / 1.231 GB, free: 3.699 MB / 0.9825 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.000101/0.347, allocations: 125.5 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.347, allocations: 7.953 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.347, allocations: 16.36 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.347, allocations: 0 / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.347, allocations: 0 / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.347, allocations: 3.938 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.3475, allocations: 398.6 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3475, allocations: 0 / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.3476, allocations: 4 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3476, allocations: 4 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3476, allocations: 3.984 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3476, allocations: 3.938 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3476, allocations: 0 / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3479, allocations: 215.4 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.348, allocations: 85.06 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.348, allocations: 0 / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3481, allocations: 15.92 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3481, allocations: 8 kB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3481, allocations: 7.984 kB / 1.232 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.3482, allocations: 98.89 kB / 1.232 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3482, allocations: 0 / 1.232 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002982/0.3485, allocations: 35.94 kB / 1.232 GB, free: 2.59 MB / 0.9825 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.0003085/0.3488, allocations: 158.5 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3491, allocations: 71.89 kB / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3491, allocations: 0 / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3492, allocations: 39.92 kB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3494, allocations: 12.3 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3498, allocations: 196.2 kB / 1.232 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3501, allocations: 0.6866 MB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.3501, allocations: 7.984 kB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.3502, allocations: 23.31 kB / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3502, allocations: 0 / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of Templates: time 0.003927/0.3541, allocations: 1.498 MB / 1.234 GB, free: 15.89 MB / 0.9981 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 -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/jenkins/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