Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007836/0.007836, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001423/0.001423, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.425/2.425, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 60.91 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.308, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002891/0.3109, allocations: 1.489 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3123, allocations: 0.7259 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.3124, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.3124, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.3125, allocations: 19.84 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.3131, allocations: 115.6 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.3133, allocations: 67.78 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3134, allocations: 23.97 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.3135, allocations: 23.92 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.3136, allocations: 39.83 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3136, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.3138, allocations: 99.78 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3139, allocations: 19.92 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.3139, allocations: 27.86 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3142, allocations: 138.5 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3142, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3142, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.3142, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 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.0006988/0.3149, allocations: 439.5 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.315, allocations: 8.031 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.3151, allocations: 34.75 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.3151, allocations: 8.844 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3152, allocations: 184.1 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3153, allocations: 8.359 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3153, allocations: 4.375 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3155, allocations: 77.77 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3155, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3155, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3156, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3157, allocations: 35.97 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.3162, allocations: 300.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3164, allocations: 54.56 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.983e-05/0.3165, allocations: 32.97 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3165, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.3167, allocations: 75.38 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.3167, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004216/0.3172, allocations: 149.5 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3172, allocations: 55.41 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3174, allocations: 121.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3174, allocations: 25.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.3174, allocations: 100 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3175, allocations: 7.812 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.3175, allocations: 29.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3176, allocations: 326.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.3177, allocations: 23.97 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.3178, allocations: 57.14 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.318, allocations: 97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.318, allocations: 3.938 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002243/0.3182, allocations: 113.7 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3183, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3183, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3183, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.3184, allocations: 15.94 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3184, allocations: 3.984 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.3185, allocations: 11.84 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3185, allocations: 8 kB / 1.092 GB, free: 12.53 MB / 0.8575 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 8.881e-05/0.3186, allocations: 129.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.3186, allocations: 3.906 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3187, allocations: 16.36 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3187, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3187, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3187, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.3191, allocations: 378.4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3191, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.3192, allocations: 8 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3192, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3192, allocations: 3.984 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3192, allocations: 7.938 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3192, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3195, allocations: 199.4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3196, allocations: 93.03 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3196, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.3197, allocations: 7.938 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3197, allocations: 7.984 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3198, allocations: 7.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.3198, allocations: 91.27 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.472e-06/0.3198, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003012/0.3201, allocations: 39.94 kB / 1.093 GB, free: 11.45 MB / 0.8575 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.0008176/0.3209, allocations: 0.8057 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3212, allocations: 71.89 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3212, allocations: 4.312 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3213, allocations: 35.92 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3216, allocations: 18.58 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3232, allocations: 1.496 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3235, allocations: 0.6955 MB / 1.096 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.3235, allocations: 7.75 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.3236, allocations: 19.42 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3236, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.3423, allocations: 2.629 MB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.915, allocations: 7.922 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.TOut in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TOut.y,bli.blindState,bli.pDown,TOut.amplitude,TOut.f