Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001305/0.001305, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001263/0.001263, allocations: 189 kB / 17.2 MB, free: 5.609 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.83 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002817/0.2945, allocations: 1.499 MB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2959, allocations: 0.757 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.296, allocations: 4 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.296, allocations: 3.938 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.2961, allocations: 11.88 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.2966, allocations: 127.5 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2967, allocations: 87.83 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.2968, allocations: 19.97 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.2969, allocations: 43.8 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.297, allocations: 47.81 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.297, allocations: 8 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.2972, allocations: 95.91 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.2973, allocations: 15.98 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.2974, allocations: 47.67 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.2976, allocations: 151.9 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2976, allocations: 4 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2976, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2976, allocations: 4 kB / 1.021 GB, free: 7.699 MB / 0.795 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.000647/0.2983, allocations: 462.5 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2983, allocations: 8.031 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2984, allocations: 8.844 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2985, allocations: 172.3 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2985, allocations: 8.375 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.2986, allocations: 4.375 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2988, allocations: 93.89 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2988, allocations: 4 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2988, allocations: 3.984 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2989, allocations: 3.984 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.299, allocations: 43.97 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.2996, allocations: 328.5 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.2998, allocations: 70.55 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2999, allocations: 44.84 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2999, allocations: 160 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.3001, allocations: 99.38 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3002, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0004914/0.3007, allocations: 189.7 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3007, allocations: 55.41 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3008, allocations: 127 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3009, allocations: 29.8 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.3009, allocations: 100.2 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.301, allocations: 15.81 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.301, allocations: 37.64 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3012, allocations: 330.8 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.3013, allocations: 23.98 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3014, allocations: 73.98 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3016, allocations: 113.9 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3016, allocations: 4 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002663/0.3019, allocations: 133.4 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3019, allocations: 8 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3019, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3019, allocations: 4 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.302, allocations: 19.92 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3021, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.3021, allocations: 19.89 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3022, allocations: 4 kB / 1.023 GB, free: 4.828 MB / 0.795 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.0001079/0.3023, allocations: 132.1 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3023, allocations: 11.84 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.3023, allocations: 8.375 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3023, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3023, allocations: 3.984 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3023, allocations: 0 / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.3029, allocations: 434.4 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3029, allocations: 4 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.303, allocations: 4 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.303, allocations: 0 / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.303, allocations: 7.984 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.303, allocations: 0 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.303, allocations: 3.938 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3034, allocations: 255.4 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3035, allocations: 89.02 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3035, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3036, allocations: 4 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3037, allocations: 15.92 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3037, allocations: 7.984 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.3038, allocations: 93.27 kB / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3038, allocations: 0 / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003095/0.3041, allocations: 40 kB / 1.024 GB, free: 3.637 MB / 0.795 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.0003486/0.3044, allocations: 174.4 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.3047, allocations: 95.88 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3047, allocations: 0 / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3049, allocations: 52.23 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3052, allocations: 13.58 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.3056, allocations: 241.4 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.306, allocations: 0.6933 MB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.306, allocations: 11.44 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.306, allocations: 4 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of Templates: time 0.003857/0.3099, allocations: 1.775 MB / 1.027 GB, free: 0.5508 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches