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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001856/0.001856, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.002132/0.002131, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 65.47 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2938, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003268/0.2971, allocations: 1.507 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2985, allocations: 0.7556 MB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.2986, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.2986, allocations: 7.875 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.2987, allocations: 11.86 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.2993, allocations: 127.6 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2995, allocations: 95.75 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2996, allocations: 12 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.2997, allocations: 39.84 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.2998, allocations: 43.83 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2998, allocations: 8 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.3, allocations: 99.84 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.3001, allocations: 23.91 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.3001, allocations: 35.86 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3004, allocations: 159.5 kB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3004, allocations: 4 kB / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3004, allocations: 0 / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3004, allocations: 4 kB / 0.954 GB, free: 5.109 MB / 0.7325 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.0007359/0.3012, allocations: 462.5 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3012, allocations: 12.03 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3013, allocations: 8.844 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3014, allocations: 168.3 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3015, allocations: 8.375 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3015, allocations: 8.375 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3017, allocations: 89.94 kB / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3017, allocations: 0 / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3018, allocations: 7.938 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3018, allocations: 0 / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3019, allocations: 43.97 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.3025, allocations: 332.6 kB / 0.9551 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3027, allocations: 70.58 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3028, allocations: 44.83 kB / 0.9552 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3028, allocations: 4 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.3031, allocations: 99.3 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3031, allocations: 4 kB / 0.9553 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005129/0.3036, allocations: 185.5 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3037, allocations: 55.41 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3038, allocations: 125.8 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3039, allocations: 29.7 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3039, allocations: 92.28 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.304, allocations: 23.73 kB / 0.9558 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.304, allocations: 37.64 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3041, allocations: 326.8 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.3042, allocations: 31.91 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3043, allocations: 70 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3045, allocations: 105.9 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3045, allocations: 4 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002522/0.3048, allocations: 137.4 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3048, allocations: 8 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3048, allocations: 0 / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3049, allocations: 4.094 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.305, allocations: 15.98 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.305, allocations: 3.938 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.3051, allocations: 15.89 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3051, allocations: 8.156 kB / 0.9565 GB, free: 2.238 MB / 0.7325 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.0001117/0.3052, allocations: 133.9 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.3052, allocations: 7.906 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3053, allocations: 12.38 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3053, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3053, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3053, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.3058, allocations: 442.8 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3059, allocations: 0 / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3059, allocations: 7.984 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3059, allocations: 3.938 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3059, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3059, allocations: 4 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.306, allocations: 3.938 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3063, allocations: 251.3 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.3064, allocations: 85.02 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3064, allocations: 3.984 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.3065, allocations: 4 kB / 0.9574 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.3066, allocations: 15.92 kB / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3066, allocations: 0 / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.3067, allocations: 98.14 kB / 0.9575 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.647e-06/0.3067, allocations: 0 / 0.9575 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000322/0.307, allocations: 47.92 kB / 0.9576 GB, free: 1.043 MB / 0.7325 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.0003913/0.3074, allocations: 179 kB / 0.9577 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3077, allocations: 91.83 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3077, allocations: 320 / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3078, allocations: 51.97 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3081, allocations: 8 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.3086, allocations: 208.2 kB / 0.9581 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3089, allocations: 0.6924 MB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.309, allocations: 12.17 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.309, allocations: 11.44 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.309, allocations: 0 / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.005113/0.3141, allocations: 1.705 MB / 0.9604 GB, free: 14.06 MB / 0.7481 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 -s cvode -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/jenkins1/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