Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006396/0.006397, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001524/0.001524, allocations: 189 kB / 16.68 MB, free: 6.367 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.553/2.553, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.75 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2896, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002548/0.2922, allocations: 1.494 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2934, allocations: 0.753 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.2935, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.2935, allocations: 7.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.2936, allocations: 15.75 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.2941, allocations: 131.6 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2942, allocations: 87.77 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.2943, allocations: 19.97 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.2944, allocations: 43.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.2945, allocations: 43.83 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.2945, allocations: 8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2947, allocations: 99.84 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.2948, allocations: 23.91 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2948, allocations: 31.86 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2952, allocations: 163.4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2952, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2952, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2952, allocations: 0 / 1.091 GB, free: 14.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006516/0.2959, allocations: 462.3 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2959, allocations: 12.03 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.296, allocations: 12.88 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2961, allocations: 176.2 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2961, allocations: 8.375 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2961, allocations: 8.375 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2964, allocations: 93.94 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2964, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2964, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2964, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2966, allocations: 47.91 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2971, allocations: 320.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.2973, allocations: 66.55 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2974, allocations: 48.81 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2974, allocations: 160 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.2977, allocations: 103.4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2977, allocations: 3.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004843/0.2982, allocations: 185.5 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2983, allocations: 59.34 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2984, allocations: 127.6 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2984, allocations: 33.7 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.2985, allocations: 84.38 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2985, allocations: 27.78 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.2986, allocations: 33.72 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2987, allocations: 322.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.2988, allocations: 31.97 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2989, allocations: 73.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2991, allocations: 105.9 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2991, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.2993, allocations: 141.5 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2994, allocations: 7.938 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2994, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2994, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.2995, allocations: 15.98 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2995, allocations: 7.984 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.2996, allocations: 11.89 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2996, allocations: 12.16 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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 0.000108/0.2997, allocations: 127.1 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.2998, allocations: 11.94 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2998, allocations: 8.375 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.2998, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2998, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2998, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.3004, allocations: 438.7 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3005, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.3005, allocations: 7.984 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3005, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3005, allocations: 96 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3005, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3006, allocations: 3.938 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3009, allocations: 255.4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.301, allocations: 85 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.301, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3011, allocations: 7.984 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3012, allocations: 11.95 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3012, allocations: 8 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.3012, allocations: 99.2 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003197/0.3016, allocations: 43.92 kB / 1.094 GB, free: 10.49 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003236/0.3019, allocations: 166.1 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3022, allocations: 95.92 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3022, allocations: 8.25 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3023, allocations: 39.98 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3026, allocations: 19.98 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3031, allocations: 204.1 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3033, allocations: 0.6885 MB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.3033, allocations: 11.98 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3034, allocations: 11.44 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3034, allocations: 0 / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.004351/0.3077, allocations: 1.703 MB / 1.097 GB, free: 7.52 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches