Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001592/0.001592, 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.001905/0.001905, allocations: 195.1 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7188, allocations: 140.4 MB / 0.9496 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002801/0.7216, allocations: 1.483 MB / 0.951 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.7229, allocations: 0.7285 MB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.723, allocations: 1.406 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.723, allocations: 3.938 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.7231, allocations: 17.19 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.7237, allocations: 121 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.7238, allocations: 70.16 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.7239, allocations: 14.25 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.724, allocations: 36.92 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.7241, allocations: 37.67 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.7241, allocations: 5.75 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.7243, allocations: 88.94 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.7244, allocations: 14.17 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.7244, allocations: 37.02 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.7247, allocations: 139.1 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7247, allocations: 1.219 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7247, allocations: 0 / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7247, allocations: 0 / 0.9523 GB, free: 7.168 MB / 0.7169 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.0005016/0.7252, allocations: 449 kB / 0.9527 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7253, allocations: 9.594 kB / 0.9527 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.7253, allocations: 4.312 kB / 0.9527 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.865e-05/0.7254, allocations: 176.6 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.7254, allocations: 14.66 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.7254, allocations: 3.719 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.7256, allocations: 76.55 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7256, allocations: 0 / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7257, allocations: 9.109 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7257, allocations: 1.125 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.7258, allocations: 31.67 kB / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.7262, allocations: 300.5 kB / 0.9533 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.7263, allocations: 45.56 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.7264, allocations: 39.39 kB / 0.9534 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.7265, allocations: 0.9375 kB / 0.9534 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.7267, allocations: 81.22 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.7267, allocations: 0 / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003753/0.7271, allocations: 135.6 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.7271, allocations: 58.47 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.7272, allocations: 123.8 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.7272, allocations: 31.05 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.7273, allocations: 91.2 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.7273, allocations: 14.44 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.7273, allocations: 25.77 kB / 0.9539 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.7274, allocations: 324 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.7275, allocations: 21.02 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.7275, allocations: 61.95 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.7277, allocations: 87.62 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7277, allocations: 1.125 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002257/0.7279, allocations: 117.3 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.728, allocations: 6.062 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.728, allocations: 1.281 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.728, allocations: 2.219 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.7281, allocations: 17.78 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7281, allocations: 2.438 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.7282, allocations: 19.77 kB / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.7282, allocations: 4.469 kB / 0.9546 GB, free: 4.953 MB / 0.7169 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 6.909e-05/0.7283, allocations: 122.8 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.7283, allocations: 7.125 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.7283, allocations: 10.34 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7283, allocations: 5 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7283, allocations: 0 / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7284, allocations: 0.9375 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.7288, allocations: 381.7 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7288, allocations: 3.938 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.7288, allocations: 11.11 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7288, allocations: 5.312 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.7288, allocations: 5.125 kB / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7288, allocations: 0 / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7289, allocations: 9.094 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.7291, allocations: 203.6 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.7291, allocations: 87.89 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.7292, allocations: 0 / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.7293, allocations: 8.016 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.7293, allocations: 10.19 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7293, allocations: 1.312 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.7294, allocations: 97.39 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7294, allocations: 0 / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003301/0.7297, allocations: 44.39 kB / 0.9555 GB, free: 4.031 MB / 0.7169 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.0003094/0.73, allocations: 150.7 kB / 0.9557 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.7303, allocations: 80.22 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7303, allocations: 5.594 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.7304, allocations: 35.34 kB / 0.9558 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.7307, allocations: 14.44 kB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.7311, allocations: 186.7 kB / 0.956 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.7312, allocations: 0.6916 MB / 0.9567 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.7312, allocations: 9.391 kB / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.7313, allocations: 10.59 kB / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7313, allocations: 0 / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Templates: time 0.003893/0.7352, allocations: 1.45 MB / 0.9581 GB, free: 2.23 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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