Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_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.006882/0.006882, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001635/0.001635, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 62.34 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2505, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00304/0.2536, allocations: 1.49 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2551, allocations: 0.7297 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.2552, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.2553, allocations: 3.938 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/0.2554, allocations: 15.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.256, allocations: 119.6 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2562, allocations: 71.77 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.2563, allocations: 11.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2564, allocations: 35.91 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.2564, allocations: 31.84 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2565, allocations: 8 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2567, allocations: 95.84 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.2567, allocations: 15.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.2568, allocations: 35.86 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.257, allocations: 134.5 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.257, allocations: 3.984 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.257, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.2571, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 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.0006441/0.2577, allocations: 441.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2578, allocations: 12.03 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.2578, allocations: 30.75 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.2578, allocations: 8.844 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.258, allocations: 188.1 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.258, allocations: 4.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.258, allocations: 4.375 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2582, allocations: 69.78 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2582, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2583, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2583, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2584, allocations: 43.91 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.259, allocations: 300.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2591, allocations: 46.56 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.2592, allocations: 32.97 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2593, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.2595, allocations: 87.38 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.2595, allocations: 7.984 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000402/0.2599, allocations: 133.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.26, allocations: 55.34 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2601, allocations: 121.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2602, allocations: 29.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.2602, allocations: 96.05 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2603, allocations: 15.81 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.2603, allocations: 29.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2605, allocations: 318.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.2606, allocations: 27.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.2607, allocations: 57.08 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2608, allocations: 97 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2609, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/0.2611, allocations: 109.5 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2611, allocations: 8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2611, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2612, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.2612, allocations: 19.92 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2613, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.2613, allocations: 11.84 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2614, allocations: 8.156 kB / 1.092 GB, free: 12.55 MB / 0.8575 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 9.299e-05/0.2615, allocations: 121.2 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.2615, allocations: 11.89 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.2615, allocations: 8.375 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2615, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2615, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2615, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.262, allocations: 382.4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.262, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.2621, allocations: 4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2621, allocations: 3.984 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2621, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2621, allocations: 3.938 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2621, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.2624, allocations: 211.3 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2625, allocations: 85.02 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2625, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.2626, allocations: 7.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2627, allocations: 15.97 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2627, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.2627, allocations: 95.27 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2628, allocations: 3.938 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003042/0.2631, allocations: 39.98 kB / 1.093 GB, free: 11.47 MB / 0.8575 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.0007884/0.2639, allocations: 0.8028 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2641, allocations: 71.89 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2641, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.973e-05/0.2642, allocations: 31.98 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2645, allocations: 19.92 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.2662, allocations: 1.502 MB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.2665, allocations: 0.6885 MB / 1.096 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2666, allocations: 11.73 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.2666, allocations: 19.44 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2666, allocations: 0 / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.557, allocations: 2.634 MB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.302, allocations: 5.484 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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