Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 100.1 kB / 15.88 MB, free: 12 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.001943/0.001944, allocations: 198.5 kB / 16.79 MB, free: 6.828 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.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.366/2.366, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7271, allocations: 140.3 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002813/0.73, allocations: 1.553 MB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.7312, allocations: 0.7448 MB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.7312, allocations: 7.875 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.7313, allocations: 5.359 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.7314, allocations: 13.25 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.7318, allocations: 96.64 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.7319, allocations: 74.03 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.732, allocations: 17.66 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.7321, allocations: 32.75 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.7322, allocations: 39.38 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.7322, allocations: 2.875 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.7324, allocations: 86.38 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.7324, allocations: 18.78 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.7325, allocations: 28.86 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.7327, allocations: 95.94 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7327, allocations: 3.938 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.12e-07/0.7327, allocations: 1.062 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.7327, allocations: 0 / 0.9523 GB, free: 7.055 MB / 0.7169 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.0005005/0.7332, allocations: 458.4 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7332, allocations: 8.438 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.7333, allocations: 8.688 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.7334, allocations: 184.8 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.7334, allocations: 2.438 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.7334, allocations: 7.875 kB / 0.953 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.7336, allocations: 73.47 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.7336, allocations: 0 / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7336, allocations: 5.453 kB / 0.953 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7336, allocations: 5.344 kB / 0.953 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.7338, allocations: 35.97 kB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.7342, allocations: 306.1 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.7344, allocations: 44.88 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.7344, allocations: 37.19 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.7345, allocations: 0 / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.7347, allocations: 82.83 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.7347, allocations: 3.938 kB / 0.9535 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.7351, allocations: 142.1 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.7351, allocations: 56.81 kB / 0.9537 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.7352, allocations: 131.4 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.7352, allocations: 30.92 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.7353, allocations: 87.02 kB / 0.954 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.7353, allocations: 22.84 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.7353, allocations: 29.11 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.7354, allocations: 325 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.7355, allocations: 28.55 kB / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.7356, allocations: 65.92 kB / 0.9544 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.7357, allocations: 92.56 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7357, allocations: 0 / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002014/0.7359, allocations: 112.9 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7359, allocations: 7.719 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7359, allocations: 1.25 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.736, allocations: 7.188 kB / 0.9546 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.7361, allocations: 12.52 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7361, allocations: 6.438 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.7361, allocations: 5 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.7361, allocations: 2.781 kB / 0.9546 GB, free: 4.812 MB / 0.7169 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.p,$PRE.bli.p,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 6.641e-05/0.7362, allocations: 130.2 kB / 0.9548 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.7362, allocations: 6.625 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.7363, allocations: 10.75 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7363, allocations: 5.156 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7363, allocations: 0 / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7363, allocations: 0 / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.7367, allocations: 385.1 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7367, allocations: 0 / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.7368, allocations: 8.953 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7368, allocations: 0 / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7368, allocations: 5.438 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.7368, allocations: 7.938 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7368, allocations: 80 / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.7371, allocations: 222.9 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.7371, allocations: 91.02 kB / 0.9555 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.7371, allocations: 4.938 kB / 0.9555 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.7372, allocations: 6.812 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.7373, allocations: 10.33 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.7373, allocations: 6.469 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.7374, allocations: 94.33 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7374, allocations: 0 / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003117/0.7377, allocations: 41.05 kB / 0.9556 GB, free: 3.879 MB / 0.7169 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.p,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.000326/0.738, allocations: 161.5 kB / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.7382, allocations: 68.58 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7383, allocations: 0 / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.7384, allocations: 41.2 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.7386, allocations: 12.31 kB / 0.9559 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.7391, allocations: 233.5 kB / 0.9561 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.7392, allocations: 0.6902 MB / 0.9568 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.7392, allocations: 10.84 kB / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.7392, allocations: 0 / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.003023/0.7422, allocations: 1.607 MB / 0.9584 GB, free: 1.961 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches