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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007266/0.007265, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001669/0.001669, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.745/2.745, allocations: 469.4 MB / 0.7422 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.84 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3745, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002754/0.3773, allocations: 1.511 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3786, allocations: 0.7518 MB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.3787, allocations: 3.938 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.3787, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3788, allocations: 11.88 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3794, allocations: 127.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3795, allocations: 95.75 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.3796, allocations: 7.984 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.3797, allocations: 47.84 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.3798, allocations: 47.77 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3798, allocations: 8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.38, allocations: 95.91 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.3801, allocations: 27.91 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.3801, allocations: 31.86 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3804, allocations: 163.4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3804, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 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.0005948/0.381, allocations: 462.3 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3811, allocations: 12.02 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.3811, allocations: 46.69 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3812, allocations: 12.84 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3813, allocations: 172.3 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3813, allocations: 8.359 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3814, allocations: 4.375 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3816, allocations: 89.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3816, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3816, allocations: 7.984 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3816, allocations: 0 / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3818, allocations: 47.97 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.3823, allocations: 324.6 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3825, allocations: 62.55 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3826, allocations: 41 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3827, allocations: 11.98 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.3829, allocations: 95.39 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3829, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005098/0.3834, allocations: 185.5 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3835, allocations: 55.39 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3836, allocations: 133.8 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3836, allocations: 29.7 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.3837, allocations: 96.3 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3837, allocations: 23.8 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.3838, allocations: 30.08 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3839, allocations: 326.8 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.384, allocations: 27.98 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3842, allocations: 77.98 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3844, allocations: 117.8 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3844, allocations: 4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002632/0.3847, allocations: 129.5 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3847, allocations: 8 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3847, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3847, allocations: 4 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.3848, allocations: 24.08 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3848, allocations: 0 / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.3849, allocations: 15.94 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3849, allocations: 8 kB / 1.225 GB, free: 8.762 MB / 0.9825 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.0001104/0.3851, allocations: 128.7 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3851, allocations: 7.953 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.3851, allocations: 16.36 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3851, allocations: 4 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3851, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3851, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.3857, allocations: 434.4 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3857, allocations: 0 / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.3858, allocations: 4 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3858, allocations: 0 / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3858, allocations: 7.984 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3858, allocations: 4 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3858, allocations: 7.938 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.3862, allocations: 243.4 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3862, allocations: 85.06 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3863, allocations: 4 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3864, allocations: 7.984 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3864, allocations: 7.938 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3865, allocations: 12.17 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.3865, allocations: 98.27 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3865, allocations: 7.875 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003291/0.3869, allocations: 43.88 kB / 1.226 GB, free: 7.559 MB / 0.9825 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.000852/0.3877, allocations: 0.8436 MB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.388, allocations: 95.83 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.388, allocations: 0 / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3881, allocations: 44.23 kB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3884, allocations: 28.14 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3902, allocations: 1.59 MB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3905, allocations: 0.6963 MB / 1.229 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3905, allocations: 7.984 kB / 1.229 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.3906, allocations: 23.44 kB / 1.229 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3906, allocations: 0 / 1.229 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4102, allocations: 2.978 MB / 1.232 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.235, allocations: 12 kB / 1.232 GB, free: 1.254 MB / 0.9825 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