Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00126/0.00126, allocations: 194.9 kB / 16.14 MB, free: 6.668 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.75 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2614, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003068/0.2645, allocations: 1.56 MB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2658, allocations: 0.7284 MB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.2659, allocations: 4 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.2659, allocations: 7.922 kB / 1.054 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.266, allocations: 11.92 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.2665, allocations: 99.77 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2666, allocations: 63.78 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.2667, allocations: 15.98 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.2668, allocations: 23.92 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.2669, allocations: 39.83 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2669, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2671, allocations: 91.84 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.2672, allocations: 15.92 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2672, allocations: 27.86 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.2675, allocations: 135.9 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.2675, allocations: 4 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2675, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2675, allocations: 4 kB / 1.055 GB, free: 5.367 MB / 0.8106 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.0005815/0.2681, allocations: 434.7 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.2681, allocations: 11.97 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.2682, allocations: 38.73 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2682, allocations: 8.844 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2683, allocations: 180.2 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2684, allocations: 384 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2684, allocations: 4.375 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2686, allocations: 81.75 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2686, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2686, allocations: 7.984 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2686, allocations: 3.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.2688, allocations: 31.98 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.2693, allocations: 300.7 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2694, allocations: 50.56 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.488e-05/0.2695, allocations: 32.97 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2695, allocations: 3.984 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.2697, allocations: 75.38 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/0.2698, allocations: 0 / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003946/0.2702, allocations: 141.5 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2702, allocations: 55.41 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2703, allocations: 125.8 kB / 1.056 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2703, allocations: 25.7 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.2704, allocations: 95.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2704, allocations: 11.91 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2705, allocations: 29.7 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2706, allocations: 322.8 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.2707, allocations: 31.98 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2708, allocations: 61.08 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.271, allocations: 89.06 kB / 1.057 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.271, allocations: 4 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.2712, allocations: 109.4 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2713, allocations: 8.938 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2713, allocations: 4.156 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2713, allocations: 4 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.2714, allocations: 11.98 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2714, allocations: 7.938 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.2715, allocations: 11.84 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2715, allocations: 4 kB / 1.057 GB, free: 2.715 MB / 0.8106 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.556e-05/0.2716, allocations: 129.7 kB / 1.057 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.2716, allocations: 7.906 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.2716, allocations: 8.375 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2717, allocations: 4 kB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2717, allocations: 0 / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2717, allocations: 0 / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.2722, allocations: 382.4 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2722, allocations: 48 / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.2722, allocations: 11.97 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2722, allocations: 0 / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2722, allocations: 4 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2723, allocations: 3.938 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2723, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.2726, allocations: 207.3 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.2726, allocations: 81.11 kB / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2727, allocations: 0 / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.2728, allocations: 15.88 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.2728, allocations: 11.98 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2728, allocations: 0 / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.2729, allocations: 91.27 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2729, allocations: 4 kB / 1.058 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002992/0.2732, allocations: 43.89 kB / 1.058 GB, free: 1.629 MB / 0.8106 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.0007958/0.274, allocations: 0.7956 MB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.2742, allocations: 75.77 kB / 1.059 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2742, allocations: 0 / 1.059 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2743, allocations: 40.3 kB / 1.059 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.2746, allocations: 11.92 kB / 1.059 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2762, allocations: 1.518 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2764, allocations: 0.6887 MB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.2765, allocations: 7.938 kB / 1.061 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.2765, allocations: 19.42 kB / 1.061 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2765, allocations: 0 / 1.061 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2032/0.4797, allocations: 2.419 MB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004181/0.4802, allocations: 262.9 kB / 1.064 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.314, allocations: 1.75 kB / 1.064 GB, free: 11.73 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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