Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001121/0.001121, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001127/0.001127, allocations: 189 kB / 16.25 MB, free: 6.152 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.41 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.302/2.302, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5456, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002634/0.5483, allocations: 1.531 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.549, allocations: 451 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.549, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.5491, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.5491, allocations: 7.922 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.5493, allocations: 23.91 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.5494, allocations: 55.8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.5495, allocations: 8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.5496, allocations: 23.92 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.5497, allocations: 19.92 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.5497, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.5497, allocations: 7.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.5497, allocations: 11.97 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.5498, allocations: 27.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.5499, allocations: 46.08 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5499, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5499, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.5499, allocations: 4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004804/0.5504, allocations: 406.7 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5504, allocations: 12.02 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.5505, allocations: 34.75 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.5505, allocations: 4.844 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.5506, allocations: 176.2 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5507, allocations: 384 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.5507, allocations: 8.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.5509, allocations: 65.78 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5509, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5509, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5509, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.551, allocations: 27.97 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.5514, allocations: 284.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.5515, allocations: 42.55 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.5516, allocations: 24.94 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.5516, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.5518, allocations: 67.39 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5518, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003376/0.5521, allocations: 113.5 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5522, allocations: 51.41 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.5523, allocations: 121.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5523, allocations: 26.08 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.5523, allocations: 84.14 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.5524, allocations: 15.75 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.5524, allocations: 25.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5525, allocations: 326.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.5526, allocations: 15.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.5527, allocations: 44.28 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5528, allocations: 80.14 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5528, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.553, allocations: 85.64 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.553, allocations: 8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.553, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.553, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.5531, allocations: 16.17 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5531, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.5532, allocations: 11.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.5532, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 8.619e-05/0.5533, allocations: 121.9 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.5533, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.5533, allocations: 11.94 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.5533, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5533, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5534, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.5537, allocations: 346.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5537, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.5538, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5538, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5538, allocations: 3.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5538, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5538, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.5541, allocations: 191.4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.5541, allocations: 85.02 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.5541, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.5542, allocations: 11.92 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.5542, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5543, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.5543, allocations: 95.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5543, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002174/0.5545, allocations: 12 kB / 1.022 GB, free: 13.06 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004805/0.555, allocations: 0.7202 MB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.5552, allocations: 60.08 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5552, allocations: 4.312 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.5553, allocations: 31.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.5556, allocations: 15.86 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5569, allocations: 1.396 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.5572, allocations: 0.6846 MB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.5572, allocations: 4 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.5573, allocations: 19.42 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5573, allocations: 4 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1998/0.7571, allocations: 1.467 MB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/0.7574, allocations: 238 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.444, allocations: 0 / 1.027 GB, free: 8.418 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches