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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001701/0.001701, 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.002105/0.002105, allocations: 197.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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 64.84 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002895/0.3271, allocations: 1.49 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3284, allocations: 0.7338 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.3285, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3285, allocations: 3.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.3286, allocations: 15.86 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.3291, allocations: 115.6 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.3292, allocations: 63.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3293, allocations: 15.97 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.3294, allocations: 39.86 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.3295, allocations: 35.84 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3295, allocations: 4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.3297, allocations: 87.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.3298, allocations: 19.91 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.3298, allocations: 31.86 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3301, allocations: 139.8 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3301, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3301, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3301, allocations: 0 / 1.066 GB, free: 11.67 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.0005444/0.3306, allocations: 446.7 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3307, allocations: 8.031 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.3307, allocations: 30.75 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.3308, allocations: 8.844 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3309, allocations: 176.2 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3309, allocations: 4.375 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3309, allocations: 8.359 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3311, allocations: 77.72 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3312, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3312, allocations: 7.938 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3312, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3313, allocations: 35.97 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.3318, allocations: 296.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3319, allocations: 50.55 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.332, allocations: 40.91 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.332, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3322, allocations: 79.38 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3322, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000379/0.3326, allocations: 133.5 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3327, allocations: 55.41 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.3328, allocations: 129.8 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3328, allocations: 25.7 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.3328, allocations: 100 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.3329, allocations: 15.8 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.3329, allocations: 25.72 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.333, allocations: 334.7 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.3331, allocations: 19.98 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.3332, allocations: 61.12 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3334, allocations: 85.08 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.3336, allocations: 113.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3336, allocations: 8.031 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3336, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3336, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.3337, allocations: 19.92 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3338, allocations: 3.938 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.3338, allocations: 11.89 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3338, allocations: 4 kB / 1.069 GB, free: 9.016 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 7.916e-05/0.3339, allocations: 127.1 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3339, allocations: 11.91 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.334, allocations: 8.422 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.334, allocations: 7.922 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.334, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.334, allocations: 3.984 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.3344, allocations: 378.8 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3344, allocations: 0 / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3345, allocations: 4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3345, allocations: 4 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3345, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3345, allocations: 7.938 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3345, allocations: 3.938 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3348, allocations: 207.5 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.3348, allocations: 81.02 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3349, allocations: 4 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.335, allocations: 15.92 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.335, allocations: 8 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.335, allocations: 7.984 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.3351, allocations: 91.92 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3351, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002946/0.3354, allocations: 36 kB / 1.07 GB, free: 7.93 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.0007063/0.3361, allocations: 0.796 MB / 1.07 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3363, allocations: 80.14 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3364, allocations: 4.062 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3365, allocations: 39.91 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3367, allocations: 8.875 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3382, allocations: 1.498 MB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3385, allocations: 0.6922 MB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3385, allocations: 4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.3386, allocations: 26.3 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3386, allocations: 0 / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.359, allocations: 2.599 MB / 1.075 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.142, allocations: 12.5 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.TIn in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! " Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TIn.y,bli.blindState,bli.pDown,TIn.amplitude,TIn.f