Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001222/0.001222, allocations: 108 kB / 15.6 MB, free: 132 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.001365/0.001365, allocations: 198 kB / 16.54 MB, free: 6.672 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.158/3.158, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 63.27 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3215, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002916/0.3245, allocations: 1.503 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3258, allocations: 0.7495 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3259, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.326, allocations: 3.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.3261, allocations: 19.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.3267, allocations: 127.6 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3268, allocations: 87.77 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.327, allocations: 19.98 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3271, allocations: 39.84 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.3272, allocations: 43.83 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3272, allocations: 8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.3274, allocations: 103.8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.3275, allocations: 19.92 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.3275, allocations: 43.8 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3278, allocations: 147.9 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3278, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3278, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3279, allocations: 4 kB / 1.067 GB, free: 11.57 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.0006261/0.3285, allocations: 466.4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3285, allocations: 12.03 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.3286, allocations: 34.75 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3286, allocations: 8.844 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3287, allocations: 176.2 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3288, allocations: 4.375 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3288, allocations: 8.375 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.329, allocations: 93.75 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.329, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3291, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3291, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3292, allocations: 47.91 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.3298, allocations: 320.7 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.33, allocations: 70.55 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3301, allocations: 44.83 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3301, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.3304, allocations: 103.5 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.065e-06/0.3304, allocations: 7.984 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004842/0.3309, allocations: 185.8 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3309, allocations: 55.48 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.331, allocations: 135.7 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3311, allocations: 29.7 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.3311, allocations: 92.38 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.3312, allocations: 19.75 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.3312, allocations: 33.7 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3313, allocations: 326.8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3314, allocations: 23.98 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3315, allocations: 79.47 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3317, allocations: 109.9 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3318, allocations: 3.938 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002634/0.332, allocations: 129.4 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3321, allocations: 15.92 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3321, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3321, allocations: 4 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.3322, allocations: 12 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3322, allocations: 3.984 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.3323, allocations: 19.91 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3323, allocations: 4.156 kB / 1.069 GB, free: 8.656 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.0001231/0.3324, allocations: 138.2 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3325, allocations: 3.906 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.3325, allocations: 16.36 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3325, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3325, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3325, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3331, allocations: 434.4 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3331, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.3332, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3332, allocations: 3.984 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3332, allocations: 4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3332, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3332, allocations: 3.938 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.3336, allocations: 255.4 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.3337, allocations: 85.02 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3337, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3338, allocations: 7.984 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3339, allocations: 19.86 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3339, allocations: 4 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.334, allocations: 98.02 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.334, allocations: 0 / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003358/0.3343, allocations: 43.98 kB / 1.07 GB, free: 7.461 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.0008924/0.3352, allocations: 0.8564 MB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.3355, allocations: 99.95 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3355, allocations: 0 / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3356, allocations: 43.98 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3359, allocations: 17.47 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3377, allocations: 1.586 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.338, allocations: 0.6924 MB / 1.073 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.283e-05/0.3381, allocations: 4 kB / 1.073 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.3382, allocations: 23.42 kB / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3382, allocations: 0 / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3589, allocations: 2.943 MB / 1.076 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.951, allocations: 10.39 kB / 1.076 GB, free: 1.184 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_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_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.solarAltitude in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:time,SA.y,bli.blindState,bli.pDown,bli.pUp,SA.amplitude