Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_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.005511/0.005511, allocations: 100.6 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 190 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.446/2.446, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.924/0.9255, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002926/0.9285, allocations: 1.509 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.9297, allocations: 0.744 MB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.9298, allocations: 4 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.9299, allocations: 11.81 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.376e-05/0.93, allocations: 11.88 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.9305, allocations: 127.6 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.9307, allocations: 91.75 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.9308, allocations: 11.98 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.9309, allocations: 51.84 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.931, allocations: 39.83 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.931, allocations: 8 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.9312, allocations: 99.84 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.9313, allocations: 23.97 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.9313, allocations: 39.78 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.9316, allocations: 159.2 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9316, allocations: 3.938 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9316, allocations: 3.938 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9316, allocations: 4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 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.0006721/0.9323, allocations: 468.3 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9323, allocations: 8.922 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.9324, allocations: 34.75 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.9324, allocations: 8.891 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.9326, allocations: 180.2 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.9326, allocations: 8.375 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.9327, allocations: 4.375 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.9329, allocations: 97.77 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9329, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.9329, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.9329, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.9331, allocations: 43.97 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.9336, allocations: 320.7 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.9338, allocations: 70.58 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.9339, allocations: 40.84 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.934, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.9342, allocations: 95.34 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.9342, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004747/0.9347, allocations: 185.5 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9347, allocations: 55.77 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.9348, allocations: 135.1 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.9349, allocations: 29.69 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.9349, allocations: 92.38 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.935, allocations: 27.73 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.935, allocations: 29.7 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9351, allocations: 334.7 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.9352, allocations: 31.98 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.9353, allocations: 69.98 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.9355, allocations: 109.9 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9355, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002764/0.9358, allocations: 133.5 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9359, allocations: 8 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.9359, allocations: 3.984 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9359, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.936, allocations: 15.94 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.936, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.9361, allocations: 7.984 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.9361, allocations: 12 kB / 1.172 GB, free: 13.9 MB / 0.9044 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.0001095/0.9362, allocations: 134.7 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.9362, allocations: 7.953 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.9363, allocations: 16.36 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9363, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9363, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9363, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.9368, allocations: 438.4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9368, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.9369, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.9369, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.9369, allocations: 11.98 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.9369, allocations: 0 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9369, allocations: 3.938 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.9373, allocations: 243.5 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.9374, allocations: 89.16 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.9374, allocations: 3.938 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9375, allocations: 11.98 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.9375, allocations: 7.938 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.9376, allocations: 7.984 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.9376, allocations: 96.64 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9376, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003246/0.938, allocations: 47.86 kB / 1.173 GB, free: 12.7 MB / 0.9044 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.0009029/0.9389, allocations: 0.8419 MB / 1.173 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.9392, allocations: 99.83 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9392, allocations: 96 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.9393, allocations: 43.92 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.9396, allocations: 24.42 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.9414, allocations: 1.595 MB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.9417, allocations: 0.6885 MB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.9417, allocations: 11.97 kB / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.9418, allocations: 23.42 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9418, allocations: 0 / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.9627, allocations: 2.979 MB / 1.179 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.711, allocations: 19.75 kB / 1.179 GB, free: 6.379 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_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