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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 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.001155/0.001155, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.457/2.457, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.02 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002542/0.2706, allocations: 1.499 MB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2718, allocations: 0.7403 MB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.2719, allocations: 4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.2719, allocations: 7.875 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.272, allocations: 7.875 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2725, allocations: 119.6 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.2726, allocations: 67.84 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.2727, allocations: 12 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.2728, allocations: 35.84 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.2728, allocations: 31.84 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2729, allocations: 8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.2731, allocations: 95.84 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.2731, allocations: 19.92 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.2731, allocations: 27.86 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.2734, allocations: 139.9 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2734, allocations: 0 / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2734, allocations: 4 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2734, allocations: 4 kB / 1.056 GB, free: 5.453 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.0005238/0.2739, allocations: 430.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.274, allocations: 8.625 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.274, allocations: 42.73 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.274, allocations: 8.844 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2742, allocations: 176.2 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2742, allocations: 384 / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2742, allocations: 8.375 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2744, allocations: 77.72 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2744, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2744, allocations: 7.922 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2744, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2746, allocations: 31.98 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.275, allocations: 296.8 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2752, allocations: 54.5 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.2753, allocations: 36.97 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.2753, allocations: 3.984 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.2755, allocations: 75.44 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2755, allocations: 4 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.2759, allocations: 141.5 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2759, allocations: 55.34 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.276, allocations: 125.8 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2761, allocations: 25.7 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.2761, allocations: 99.98 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2761, allocations: 7.906 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.2762, allocations: 33.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.2763, allocations: 322.8 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.2764, allocations: 23.98 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.2765, allocations: 57.14 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2766, allocations: 93.06 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2766, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.2769, allocations: 117.5 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2769, allocations: 11.94 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2769, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2769, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.277, allocations: 11.98 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.277, allocations: 7.938 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.2771, allocations: 7.906 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.2771, allocations: 8 kB / 1.058 GB, free: 2.801 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.751e-05/0.2772, allocations: 133.8 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.2772, allocations: 7.906 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2772, allocations: 8.375 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2772, allocations: 4 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2772, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2773, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.2777, allocations: 374.5 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2777, allocations: 4 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.2778, allocations: 11.92 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2778, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2778, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2778, allocations: 3.938 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2778, allocations: 0 / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2781, allocations: 211.4 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.2781, allocations: 85.11 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2781, allocations: 0 / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.2782, allocations: 7.938 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2783, allocations: 7.984 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2783, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.2783, allocations: 95.27 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 4 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000279/0.2786, allocations: 39.89 kB / 1.059 GB, free: 1.723 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.0007508/0.2794, allocations: 0.8032 MB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.2796, allocations: 79.95 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2796, allocations: 0 / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.2797, allocations: 35.92 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.28, allocations: 15.92 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2814, allocations: 1.502 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2817, allocations: 0.6883 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.2817, allocations: 4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.2818, allocations: 23.42 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2818, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5381/0.8199, allocations: 2.612 MB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.611/10.43, allocations: 0 / 1.065 GB, free: 11.94 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