Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.001602/0.001602, 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.001942/0.001943, allocations: 196 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.09 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6436, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002974/0.6466, allocations: 1.499 MB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.648, allocations: 0.7517 MB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.6481, allocations: 0 / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.6482, allocations: 11.88 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.6482, allocations: 11.86 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.6488, allocations: 135.5 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.649, allocations: 79.83 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.6491, allocations: 12 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.314e-05/0.6492, allocations: 51.77 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.6492, allocations: 39.83 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.6493, allocations: 8 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.6495, allocations: 99.84 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.6495, allocations: 27.97 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.6496, allocations: 35.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.6498, allocations: 153.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6498, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6498, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6499, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 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.0007248/0.6506, allocations: 466.5 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6506, allocations: 8.031 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.6507, allocations: 38.75 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.6507, allocations: 8.844 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.6509, allocations: 180.2 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.6509, allocations: 12.31 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.651, allocations: 4.375 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.6512, allocations: 89.75 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.6512, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.6512, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6512, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.6514, allocations: 47.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.652, allocations: 324.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.6522, allocations: 66.48 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.6523, allocations: 44.84 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6523, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.6525, allocations: 99.38 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6525, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005126/0.653, allocations: 181.5 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6531, allocations: 59.55 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6532, allocations: 129.8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.6532, allocations: 29.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.6533, allocations: 96.27 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.6533, allocations: 19.75 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.6534, allocations: 33.7 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6535, allocations: 326.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.6536, allocations: 27.98 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.6538, allocations: 77.98 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.654, allocations: 113.8 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.654, allocations: 4 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002565/0.6542, allocations: 125.4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.6543, allocations: 15.92 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6543, allocations: 160 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6543, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.6544, allocations: 15.94 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6544, allocations: 3.984 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.6545, allocations: 15.84 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.6545, allocations: 8 kB / 1.023 GB, free: 12.78 MB / 0.7794 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.0001175/0.6546, allocations: 127.5 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.6547, allocations: 7.906 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.6547, allocations: 16.36 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6547, allocations: 384 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6547, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6547, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.6553, allocations: 434.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6553, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.6554, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6554, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6554, allocations: 11.98 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6554, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6554, allocations: 3.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.6558, allocations: 247.3 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.6558, allocations: 88.95 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.6559, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.656, allocations: 7.984 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.656, allocations: 15.94 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.656, allocations: 7.984 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.6561, allocations: 92.52 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6561, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003278/0.6564, allocations: 40 kB / 1.024 GB, free: 11.59 MB / 0.7794 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.0009556/0.6574, allocations: 0.8612 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.6577, allocations: 91.88 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6577, allocations: 4.25 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.6578, allocations: 51.97 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.6581, allocations: 15.92 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.6598, allocations: 1.594 MB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.6601, allocations: 0.6846 MB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.6601, allocations: 11.92 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.6602, allocations: 23.42 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6602, allocations: 4 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.6816, allocations: 2.941 MB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.106, allocations: 7.578 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_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