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.001065/0.001065, allocations: 108 kB / 15.6 MB, free: 132 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.001056/0.001056, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.478/2.478, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5539, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002656/0.5566, allocations: 1.49 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.5578, allocations: 0.7323 MB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.5579, allocations: 0 / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.5579, allocations: 3.938 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.558, allocations: 15.8 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.5584, allocations: 123.6 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.5585, allocations: 71.77 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.5586, allocations: 7.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.5587, allocations: 31.97 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.5588, allocations: 39.72 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.5588, allocations: 11.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.559, allocations: 87.92 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.559, allocations: 19.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.5591, allocations: 31.88 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.5593, allocations: 133.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5593, allocations: 7.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5593, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5593, allocations: 0 / 1.02 GB, free: 15.67 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.0005327/0.5598, allocations: 443.9 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5599, allocations: 12.03 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.5599, allocations: 34.73 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.5599, allocations: 12.84 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5601, allocations: 168.3 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.5601, allocations: 4.375 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.5601, allocations: 4.375 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.5603, allocations: 77.77 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5603, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5603, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5603, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.5605, allocations: 43.91 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.5609, allocations: 300.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.561, allocations: 46.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.5611, allocations: 36.95 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.5612, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5613, allocations: 83.31 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.5614, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000364/0.5617, allocations: 133.6 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5618, allocations: 55.41 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.5619, allocations: 121.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.5619, allocations: 33.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.5619, allocations: 84.14 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.5619, allocations: 19.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.562, allocations: 25.72 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.5621, allocations: 322.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.5622, allocations: 27.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.5623, allocations: 61.14 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.5624, allocations: 93.05 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5624, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002169/0.5626, allocations: 117.4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5627, allocations: 7.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5627, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5627, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.5628, allocations: 15.92 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5628, allocations: 4.156 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.5629, allocations: 15.84 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.5629, allocations: 4 kB / 1.022 GB, free: 13.02 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.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 8.208e-05/0.563, allocations: 121.8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.563, allocations: 11.94 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.563, allocations: 4.375 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.563, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.563, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.563, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.5635, allocations: 390.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5635, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.5635, allocations: 7.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5635, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5635, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5635, allocations: 3.938 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5635, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.5638, allocations: 211.4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.5639, allocations: 84.95 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5639, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.564, allocations: 15.92 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.564, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.564, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.5641, allocations: 95.27 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5641, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002898/0.5644, allocations: 39.98 kB / 1.023 GB, free: 11.94 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.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.0007106/0.5651, allocations: 0.8113 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.5653, allocations: 71.91 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5654, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.5655, allocations: 31.98 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.5657, allocations: 15.86 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.5671, allocations: 1.504 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5674, allocations: 0.6885 MB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.5674, allocations: 8 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.5675, allocations: 23.36 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5675, allocations: 0 / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/0.8256, allocations: 2.588 MB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11, allocations: 8.297 kB / 1.029 GB, free: 6.148 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time