Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_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.001948/0.001948, 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.002055/0.002056, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 62.27 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2516, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002888/0.2545, allocations: 1.503 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2559, allocations: 0.7497 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2559, allocations: 7.875 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.256, allocations: 3.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.2561, allocations: 19.84 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.2566, allocations: 131.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2567, allocations: 83.78 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.2568, allocations: 15.98 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.2569, allocations: 43.78 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.257, allocations: 43.83 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.257, allocations: 8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.2572, allocations: 95.91 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.2573, allocations: 23.95 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2573, allocations: 43.8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.2576, allocations: 155.8 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2576, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2576, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2576, allocations: 0 / 1.067 GB, free: 11.28 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.0006489/0.2583, allocations: 458.5 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2583, allocations: 12.03 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.2584, allocations: 38.73 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.2584, allocations: 12.84 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2585, allocations: 173.7 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2586, allocations: 8.359 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.2586, allocations: 8.375 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2588, allocations: 85.7 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2589, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2589, allocations: 7.984 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2589, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2591, allocations: 47.91 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.2596, allocations: 324.6 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.2598, allocations: 70.55 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.26, allocations: 40.83 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.26, allocations: 8 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.2602, allocations: 95.39 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2602, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005201/0.2608, allocations: 185.5 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2608, allocations: 55.56 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2609, allocations: 137.7 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.261, allocations: 29.7 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.261, allocations: 96.34 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2611, allocations: 19.75 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.2611, allocations: 33.7 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2613, allocations: 326.8 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.2614, allocations: 23.98 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2615, allocations: 79.95 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2617, allocations: 113.9 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002792/0.262, allocations: 129.4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2621, allocations: 8 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2621, allocations: 0 / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2621, allocations: 4 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.2622, allocations: 24.08 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2622, allocations: 0 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.2623, allocations: 15.89 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2623, allocations: 12 kB / 1.069 GB, free: 8.359 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.0001062/0.2624, allocations: 125.7 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2625, allocations: 8.281 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.2625, allocations: 12.31 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2625, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2625, allocations: 3.984 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2625, allocations: 3.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.2631, allocations: 430.4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2631, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.2632, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2632, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2632, allocations: 7.984 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2632, allocations: 4 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2632, allocations: 3.938 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.2636, allocations: 247.3 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.2637, allocations: 85.02 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.2637, allocations: 0 / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2638, allocations: 7.984 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2639, allocations: 12.03 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2639, allocations: 15.97 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.264, allocations: 92.39 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.264, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003218/0.2643, allocations: 40 kB / 1.071 GB, free: 7.176 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.0009658/0.2653, allocations: 0.8518 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.2656, allocations: 95.81 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2656, allocations: 4 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2657, allocations: 52.22 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.266, allocations: 25.47 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2679, allocations: 1.57 MB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2682, allocations: 0.6885 MB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.2683, allocations: 7.984 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.2683, allocations: 20.75 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2683, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.2923, allocations: 2.941 MB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.095, allocations: 11.72 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_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