Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.001606/0.001606, 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.002314/0.002314, allocations: 196.5 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.997/2.997, allocations: 469.4 MB / 0.742 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 63.84 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00265/0.2962, allocations: 1.511 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2975, allocations: 0.7495 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.2975, allocations: 7.938 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.2976, allocations: 7.922 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.2977, allocations: 11.86 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2982, allocations: 127.6 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2983, allocations: 83.77 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.2984, allocations: 16 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.2985, allocations: 51.77 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.2986, allocations: 39.83 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.2986, allocations: 8 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.2988, allocations: 95.91 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.2989, allocations: 23.92 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.2989, allocations: 39.84 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2992, allocations: 159.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2992, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2992, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2992, allocations: 3.938 kB / 1.067 GB, free: 11.61 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005885/0.2998, allocations: 458.5 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2999, allocations: 12.03 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.2999, allocations: 30.75 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2999, allocations: 8.844 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3001, allocations: 172.3 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3001, allocations: 12.38 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3001, allocations: 4.375 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3003, allocations: 93.69 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3004, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3004, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3004, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3006, allocations: 43.97 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.3011, allocations: 328.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3013, allocations: 74.48 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3015, allocations: 40.78 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3015, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.3017, allocations: 99.34 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.3018, allocations: 0 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004966/0.3023, allocations: 185.5 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3023, allocations: 63.33 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3024, allocations: 128.6 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3025, allocations: 29.7 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3025, allocations: 96.36 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3025, allocations: 19.91 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3026, allocations: 33.7 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3027, allocations: 326.8 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.3028, allocations: 23.98 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3029, allocations: 84.08 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3031, allocations: 113.8 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3031, allocations: 4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002715/0.3034, allocations: 125.4 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3034, allocations: 9.562 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3035, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3035, allocations: 4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3036, allocations: 19.92 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3036, allocations: 0 / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.3037, allocations: 20.05 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3037, allocations: 8 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.0001346/0.3039, allocations: 124.7 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3039, allocations: 7.906 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.3039, allocations: 16.36 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3039, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3039, allocations: 384 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3039, allocations: 4 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.3045, allocations: 438.2 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3045, allocations: 4 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.3045, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3046, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3046, allocations: 7.984 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3046, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3046, allocations: 3.938 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.3049, allocations: 251.3 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.305, allocations: 85.02 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.305, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3051, allocations: 7.984 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3052, allocations: 11.94 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3052, allocations: 7.984 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.3053, allocations: 95.27 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3053, allocations: 4 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003158/0.3056, allocations: 40 kB / 1.07 GB, free: 7.508 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009209/0.3065, allocations: 0.8563 MB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3068, allocations: 95.83 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3068, allocations: 0 / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.307, allocations: 47.91 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3073, allocations: 24.23 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.309, allocations: 1.583 MB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3093, allocations: 0.6885 MB / 1.073 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.697e-05/0.3093, allocations: 7.984 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.3094, allocations: 19.44 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3094, allocations: 0 / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.3297, allocations: 2.953 MB / 1.076 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.084, allocations: 1.938 kB / 1.076 GB, free: 1.223 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_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_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.H in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude