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.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001072/0.001073, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.274/2.274, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6309, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003477/0.6344, allocations: 1.562 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.6359, allocations: 0.7518 MB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.636, allocations: 4 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.6361, allocations: 3.938 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.6362, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.6368, allocations: 119.8 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.637, allocations: 83.78 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.6371, allocations: 19.97 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.6372, allocations: 39.86 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.6373, allocations: 47.81 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.6373, allocations: 8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.6375, allocations: 103.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.6376, allocations: 19.98 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.6377, allocations: 39.78 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.6379, allocations: 153.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6379, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6379, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.638, allocations: 0 / 1.02 GB, free: 15.75 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.000734/0.6387, allocations: 458.5 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6388, allocations: 8.031 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.6388, allocations: 42.73 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.6389, allocations: 8.844 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.639, allocations: 176.2 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.6391, allocations: 8.375 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6391, allocations: 12.38 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.6394, allocations: 89.75 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6394, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.6394, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.6394, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.6396, allocations: 51.89 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.6402, allocations: 324.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.6404, allocations: 58.55 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.6405, allocations: 52.86 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.6406, allocations: 8.141 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.6408, allocations: 91.36 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.6408, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005049/0.6413, allocations: 193.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.6414, allocations: 51.41 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.6415, allocations: 129.8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6416, allocations: 25.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.6416, allocations: 100.3 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.6417, allocations: 23.75 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.6417, allocations: 29.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6419, allocations: 326.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.642, allocations: 27.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.6421, allocations: 73.92 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.6423, allocations: 105.9 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6423, allocations: 7.938 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002626/0.6425, allocations: 137.4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6426, allocations: 9.562 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6426, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6426, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.6427, allocations: 19.98 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6427, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.6428, allocations: 12 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.6428, allocations: 15.98 kB / 1.022 GB, free: 12.83 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.0001103/0.6429, allocations: 125.7 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.643, allocations: 7.906 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.643, allocations: 12.38 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.643, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.643, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.643, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.6436, allocations: 438.3 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6436, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.6436, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6436, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.6437, allocations: 11.98 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6437, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6437, allocations: 7.875 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.644, allocations: 247.5 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.6441, allocations: 88.95 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.6441, allocations: 7.938 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.6442, allocations: 8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.6443, allocations: 11.92 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.6443, allocations: 7.984 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.6444, allocations: 98.77 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6444, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003112/0.6447, allocations: 44 kB / 1.023 GB, free: 11.63 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.0009713/0.6457, allocations: 0.8424 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.646, allocations: 99.77 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.646, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.6461, allocations: 43.97 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.6464, allocations: 22.73 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.6482, allocations: 1.596 MB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6485, allocations: 0.6963 MB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.6485, allocations: 7.984 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.6486, allocations: 19.44 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6486, allocations: 0 / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/0.848, allocations: 2.81 MB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.8483, allocations: 279.2 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.56, allocations: 0 / 1.03 GB, free: 5.168 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches