Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.001289, allocations: 108 kB / 15.61 MB, free: 152 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.001176/0.001176, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 69.12 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3127, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002435/0.3152, allocations: 1.478 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3163, allocations: 0.7284 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.3164, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.3164, allocations: 7.875 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.3165, allocations: 15.84 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.3169, allocations: 119.6 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.317, allocations: 59.84 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.3171, allocations: 27.95 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.3172, allocations: 31.86 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.3173, allocations: 35.83 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3173, allocations: 8 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.3175, allocations: 95.84 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3175, allocations: 15.92 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.3175, allocations: 31.86 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3177, allocations: 135.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3178, allocations: 4 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3178, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 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.0004986/0.3183, allocations: 438.7 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3183, allocations: 12.03 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3184, allocations: 8.844 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3185, allocations: 176.2 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3185, allocations: 384 / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3185, allocations: 8.375 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3187, allocations: 85.88 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3187, allocations: 3.938 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3187, allocations: 3.938 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3188, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3189, allocations: 35.97 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.3194, allocations: 296.8 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3195, allocations: 54.48 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.3196, allocations: 36.97 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3197, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.3199, allocations: 71.38 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3199, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004185/0.3203, allocations: 141.6 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3204, allocations: 55.34 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3205, allocations: 125.7 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3205, allocations: 25.7 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.3206, allocations: 92.14 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3206, allocations: 19.73 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.3207, allocations: 29.72 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3208, allocations: 322.8 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.3209, allocations: 19.98 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.321, allocations: 61.14 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3212, allocations: 93.06 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3212, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.3214, allocations: 113.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3214, allocations: 8 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3215, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3215, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.3216, allocations: 15.92 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3216, allocations: 7.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.3217, allocations: 8 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.3217, allocations: 7.984 kB / 1.073 GB, free: 5.008 MB / 0.8262 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 9.623e-05/0.3218, allocations: 132.9 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.3218, allocations: 7.906 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.3218, allocations: 8.375 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3218, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3218, allocations: 4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3219, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.3223, allocations: 374.5 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3223, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3224, allocations: 3.984 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3224, allocations: 11.97 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3224, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3224, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3224, allocations: 7.875 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3227, allocations: 207.4 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3227, allocations: 89.02 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3228, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.3229, allocations: 7.984 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.3229, allocations: 7.938 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.3229, allocations: 3.984 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.323, allocations: 91.28 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003183/0.3233, allocations: 43.98 kB / 1.074 GB, free: 3.926 MB / 0.8262 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.0003176/0.3236, allocations: 168.9 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3239, allocations: 79.88 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3239, allocations: 0 / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.324, allocations: 31.98 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3243, allocations: 10.03 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.3247, allocations: 192.7 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3249, allocations: 0.6924 MB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.325, allocations: 4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.325, allocations: 11.44 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.325, allocations: 0 / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.004163/0.3292, allocations: 1.44 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time