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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 99.03 kB / 16.02 MB, free: 76 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.000927/0.0009271, allocations: 180.7 kB / 16.92 MB, free: 6.918 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 8.594 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001777/0.2861, allocations: 1.217 MB / 1.061 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2875, allocations: 0.7167 MB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.2876, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.2876, allocations: 7.875 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.2877, allocations: 11.92 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.2883, allocations: 99.77 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2884, allocations: 63.78 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.2885, allocations: 11.98 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.2886, allocations: 23.92 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.2886, allocations: 35.83 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2887, allocations: 8 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2889, allocations: 87.84 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.2889, allocations: 15.92 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2889, allocations: 53.56 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2891, allocations: 96.05 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2891, allocations: 0 / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2891, allocations: 0 / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2892, allocations: 0 / 1.062 GB, free: 2.516 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.0005631/0.2897, allocations: 434.8 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2898, allocations: 11.97 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.2898, allocations: 8.844 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.29, allocations: 176.2 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.29, allocations: 4.375 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.29, allocations: 12.36 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2902, allocations: 73.91 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2903, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2903, allocations: 4 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2903, allocations: 4 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2904, allocations: 39.97 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2909, allocations: 304.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2911, allocations: 58.48 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.2912, allocations: 32.97 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2912, allocations: 0 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.2914, allocations: 79.38 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/0.2914, allocations: 3.984 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004286/0.2918, allocations: 141.6 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2919, allocations: 55.34 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2921, allocations: 129.7 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2921, allocations: 29.7 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.2921, allocations: 92.2 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.2922, allocations: 23.67 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.2922, allocations: 17.72 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2924, allocations: 322.8 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.2925, allocations: 23.98 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.2926, allocations: 65.58 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.2928, allocations: 101 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2928, allocations: 4 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002619/0.2931, allocations: 121.6 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2931, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2931, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2931, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.2932, allocations: 19.92 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2932, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.2933, allocations: 12 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2933, allocations: 4 kB / 1.064 GB, free: 15.87 MB / 0.8262 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.082e-05/0.2934, allocations: 133.7 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.2934, allocations: 7.906 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.2935, allocations: 8.375 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2935, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2935, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2935, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.294, allocations: 382.7 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.294, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.294, allocations: 7.984 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.294, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.294, allocations: 3.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2941, allocations: 4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2941, allocations: 8.016 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.2944, allocations: 219.4 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.2944, allocations: 85.02 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2945, allocations: 0 / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.2945, allocations: 7.984 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.2946, allocations: 7.938 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2946, allocations: 8 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.2947, allocations: 99.42 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2947, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003045/0.295, allocations: 39.98 kB / 1.065 GB, free: 14.77 MB / 0.8262 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.0003326/0.2953, allocations: 162.4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2956, allocations: 71.91 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2956, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.2957, allocations: 39.97 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.296, allocations: 4.312 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.2964, allocations: 248.8 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2966, allocations: 0.6887 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2967, allocations: 7.438 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.2967, allocations: 4 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.003435/0.3001, allocations: 1.569 MB / 1.068 GB, free: 11.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches