Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001638/0.001638, allocations: 108.6 kB / 15.73 MB, free: 72 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.001869/0.001869, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.785/2.785, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3633, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002749/0.3661, allocations: 1.486 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3675, allocations: 0.7245 MB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.3675, allocations: 0 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.3676, allocations: 7.875 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.3676, allocations: 11.88 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.3682, allocations: 123.6 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3683, allocations: 75.72 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.3684, allocations: 8 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.3685, allocations: 39.83 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.3686, allocations: 31.84 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3686, allocations: 4 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3688, allocations: 99.84 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.3688, allocations: 15.98 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.3689, allocations: 31.84 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3692, allocations: 135.8 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3692, allocations: 3.938 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3692, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3692, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006629/0.3699, allocations: 446.4 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3699, allocations: 12.02 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.37, allocations: 42.75 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.37, allocations: 8.891 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3702, allocations: 180.2 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3702, allocations: 384 / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3702, allocations: 12.36 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3704, allocations: 69.78 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3704, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3704, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3704, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3706, allocations: 39.97 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.3711, allocations: 292.8 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3712, allocations: 58.48 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.3713, allocations: 32.97 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3714, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.3716, allocations: 79.38 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3716, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.372, allocations: 141.5 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3721, allocations: 51.41 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3722, allocations: 125.8 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3722, allocations: 29.7 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.3723, allocations: 96.09 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3723, allocations: 23.89 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3724, allocations: 25.72 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3725, allocations: 322.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.3726, allocations: 19.98 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3727, allocations: 65.12 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3729, allocations: 89.02 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3729, allocations: 4 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002424/0.3731, allocations: 121.4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3732, allocations: 8 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3732, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3732, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.3733, allocations: 11.98 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3733, allocations: 4.156 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.3734, allocations: 11.98 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3734, allocations: 8 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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.0001006/0.3735, allocations: 123.4 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3735, allocations: 7.953 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.3735, allocations: 8.375 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3736, allocations: 0 / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3736, allocations: 0 / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3736, allocations: 4 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3741, allocations: 382.3 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3741, allocations: 3.984 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.3741, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3741, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3742, allocations: 7.938 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3742, allocations: 3.938 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3742, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3745, allocations: 211.9 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3745, allocations: 85.06 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3746, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.3747, allocations: 11.92 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3747, allocations: 0 / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3747, allocations: 7.984 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3748, allocations: 91.28 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3748, allocations: 3.938 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002935/0.3751, allocations: 39.92 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000898/0.376, allocations: 0.8137 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3762, allocations: 63.91 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3763, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3764, allocations: 43.89 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3766, allocations: 11.94 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3783, allocations: 1.512 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3787, allocations: 0.6885 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.3787, allocations: 4 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.3788, allocations: 19.42 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3788, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.4034, allocations: 2.637 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.472, allocations: 10.7 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_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_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.TIn in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! " Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TIn.y,bli.blindState,bli.pDown,TIn.amplitude,TIn.f