Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001228/0.001228, 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.001123/0.001123, allocations: 194 kB / 16.14 MB, free: 6.648 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 65.44 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2676, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002639/0.2702, allocations: 1.56 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2715, allocations: 0.7322 MB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.2716, allocations: 0 / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.2716, allocations: 4 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.2717, allocations: 15.86 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.2722, allocations: 99.77 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.2723, allocations: 59.84 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.2724, allocations: 12 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.2725, allocations: 31.84 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.2726, allocations: 35.83 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2726, allocations: 8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2728, allocations: 91.91 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.2728, allocations: 11.92 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.2729, allocations: 35.8 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.2731, allocations: 131.9 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2731, allocations: 0 / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2731, allocations: 0 / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2731, allocations: 0 / 1.055 GB, free: 5.398 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.0005484/0.2737, allocations: 434.7 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2737, allocations: 15.97 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.2738, allocations: 42.73 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2738, allocations: 8.844 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2739, allocations: 172.2 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.274, allocations: 384 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.274, allocations: 8.375 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2742, allocations: 81.69 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2742, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2742, allocations: 3.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2742, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2744, allocations: 39.91 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.2748, allocations: 288.8 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.275, allocations: 58.48 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.2751, allocations: 32.97 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2751, allocations: 4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2753, allocations: 71.38 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2753, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.2757, allocations: 141.6 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2757, allocations: 59.34 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.2758, allocations: 125.8 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2759, allocations: 25.7 kB / 1.056 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2759, allocations: 99.98 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.2759, allocations: 11.89 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.276, allocations: 25.72 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.2761, allocations: 322.8 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.2762, allocations: 19.98 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.2763, allocations: 61.14 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2764, allocations: 93.06 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2764, allocations: 0 / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002191/0.2767, allocations: 121.5 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2767, allocations: 8 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2767, allocations: 0 / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2767, allocations: 8.156 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2768, allocations: 15.92 kB / 1.057 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2768, allocations: 8.25 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.2769, allocations: 7.906 kB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2769, allocations: 11.98 kB / 1.057 GB, free: 2.734 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 8.832e-05/0.277, allocations: 126.8 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.277, allocations: 7.906 kB / 1.057 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.277, allocations: 8.375 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.277, allocations: 4 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2771, allocations: 0 / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2771, allocations: 4 kB / 1.057 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.2775, allocations: 374.5 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2775, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2776, allocations: 7.984 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2776, allocations: 7.938 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2776, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2776, allocations: 7.938 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2776, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2779, allocations: 203.4 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.2779, allocations: 85.11 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2779, allocations: 3.938 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.278, allocations: 11.92 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2781, allocations: 0 / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2781, allocations: 11.98 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.2781, allocations: 87.28 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2781, allocations: 0 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002919/0.2784, allocations: 43.89 kB / 1.058 GB, free: 1.66 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.000744/0.2792, allocations: 0.8026 MB / 1.059 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.2794, allocations: 67.91 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2794, allocations: 0 / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.2795, allocations: 40.22 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2798, allocations: 11.94 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2813, allocations: 1.516 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2815, allocations: 0.6965 MB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.2815, allocations: 4 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2816, allocations: 19.42 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2816, allocations: 4 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/0.5517, allocations: 2.421 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.552, allocations: 260.2 kB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.362, allocations: 64 / 1.064 GB, free: 11.74 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time