Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.0009629/0.0009629, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007082/0.007082, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5736, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001519/0.5751, allocations: 1.215 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.5763, allocations: 0.7287 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.5764, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.5764, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.5765, allocations: 15.86 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.5769, allocations: 107.8 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.577, allocations: 67.78 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.5771, allocations: 8.188 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.5771, allocations: 23.92 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.5772, allocations: 39.83 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.5772, allocations: 4 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.5774, allocations: 87.84 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.5774, allocations: 15.92 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.5775, allocations: 57.56 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.5777, allocations: 137.8 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5777, allocations: 7.938 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5777, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.5777, allocations: 0 / 1.026 GB, free: 13.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004895/0.5782, allocations: 442.6 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.5783, allocations: 8.031 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.5783, allocations: 42.69 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.5783, allocations: 4.922 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5784, allocations: 180.1 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5785, allocations: 4.375 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.5785, allocations: 4.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.5787, allocations: 81.58 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5787, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5787, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.5787, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.5789, allocations: 51.91 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.5794, allocations: 300.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.5795, allocations: 54.56 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.5796, allocations: 36.95 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.5796, allocations: 4.062 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.5798, allocations: 91.31 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.5798, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003917/0.5802, allocations: 149.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.5802, allocations: 55.41 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.5803, allocations: 125.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5804, allocations: 29.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.5804, allocations: 96.05 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.5804, allocations: 23.81 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.5805, allocations: 21.66 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.5806, allocations: 322.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.5807, allocations: 23.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.5808, allocations: 69.08 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.5809, allocations: 101 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5809, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002147/0.5812, allocations: 121.6 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5812, allocations: 8.031 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5812, allocations: 80 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5812, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.5813, allocations: 15.92 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5813, allocations: 7.984 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.5814, allocations: 7.906 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5814, allocations: 11.92 kB / 1.028 GB, free: 10.57 MB / 0.7794 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.p,$PRE.bli.p,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 7.635e-05/0.5815, allocations: 125.8 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.5815, allocations: 11.84 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.5815, allocations: 8.375 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5815, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5815, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5815, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.582, allocations: 390.4 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.582, allocations: 7.984 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.582, allocations: 8 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.582, allocations: 0 / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.5821, allocations: 0 / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5821, allocations: 3.938 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5821, allocations: 3.984 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.5823, allocations: 231.3 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.5824, allocations: 84.95 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5824, allocations: 0 / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.5825, allocations: 11.88 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.5826, allocations: 7.984 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5826, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.5826, allocations: 95.27 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5826, allocations: 4 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002802/0.5829, allocations: 43.98 kB / 1.029 GB, free: 9.441 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,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.0007326/0.5837, allocations: 0.8133 MB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5839, allocations: 75.89 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5839, allocations: 320 / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.584, allocations: 43.98 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5843, allocations: 12.91 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.5857, allocations: 1.55 MB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.586, allocations: 0.6893 MB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.586, allocations: 8 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.5861, allocations: 23.42 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5861, allocations: 0 / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8294/1.415, allocations: 2.423 MB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/1.416, allocations: 273.7 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/3.348, allocations: 0 / 1.035 GB, free: 3.461 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time