Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.001581/0.001581, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.88 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7982, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002931/0.8012, allocations: 1.467 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.8019, allocations: 445.1 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.802, allocations: 5.031 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.802, allocations: 1.078 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.8021, allocations: 18.8 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.8023, allocations: 25.23 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8024, allocations: 50.64 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8025, allocations: 7.609 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.8027, allocations: 27.97 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.8027, allocations: 20.3 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.8028, allocations: 3.125 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.8028, allocations: 4.094 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.8028, allocations: 25.3 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.8029, allocations: 24.14 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.803, allocations: 44.69 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.803, allocations: 1.859 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.803, allocations: 0 / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.803, allocations: 0 / 1.091 GB, free: 4.066 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004703/0.8035, allocations: 409 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8035, allocations: 9.438 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.8036, allocations: 4.453 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.052e-05/0.8037, allocations: 176.6 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.8037, allocations: 3.078 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.8037, allocations: 2.844 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8039, allocations: 66.52 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8039, allocations: 0.5156 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8039, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8039, allocations: 5.062 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.8041, allocations: 36.14 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.8044, allocations: 278.1 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8046, allocations: 38.25 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.8047, allocations: 29.55 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.8047, allocations: 1.797 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.8049, allocations: 73.59 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.8049, allocations: 0 / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.000347/0.8052, allocations: 108.9 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.8053, allocations: 60.14 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.8054, allocations: 116.4 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.8054, allocations: 33.7 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.8054, allocations: 89.11 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.8054, allocations: 13.58 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.8055, allocations: 22.02 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.8055, allocations: 322.4 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.8056, allocations: 21.12 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.8057, allocations: 53.67 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.8058, allocations: 65.17 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8058, allocations: 4.938 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001762/0.806, allocations: 93.66 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.806, allocations: 6.859 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.806, allocations: 0.7188 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.8061, allocations: 6.234 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.8061, allocations: 9.656 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8062, allocations: 1.438 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.8062, allocations: 9.25 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.8062, allocations: 7.359 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 6.043e-05/0.8063, allocations: 118.3 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8063, allocations: 7.625 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.8064, allocations: 5.547 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8064, allocations: 1.062 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8064, allocations: 1.125 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8064, allocations: 0.7969 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.8067, allocations: 347.1 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8068, allocations: 4.719 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.8068, allocations: 8.859 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8068, allocations: 1.172 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.8068, allocations: 1.422 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8068, allocations: 0 / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8068, allocations: 4.625 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.8071, allocations: 185.4 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.8071, allocations: 82.69 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.8071, allocations: 6.047 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.8072, allocations: 5.359 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.8073, allocations: 8.875 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8073, allocations: 2.391 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.8073, allocations: 98.02 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8073, allocations: 0 / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002317/0.8076, allocations: 12.25 kB / 1.094 GB, free: 1.285 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.378e-05/0.8077, allocations: 102.1 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.8079, allocations: 53.05 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8079, allocations: 0 / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.808, allocations: 31.16 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.8083, allocations: 8.562 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.8086, allocations: 193 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8088, allocations: 0.6867 MB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8088, allocations: 11.45 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.8088, allocations: 0 / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of Templates: time 0.002593/0.8114, allocations: 0.7544 MB / 1.095 GB, free: 256 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches