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.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.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.001003/0.001003, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.008171/0.008171, allocations: 172.9 kB / 16.26 MB, free: 6.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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.346/2.346, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 11.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7169, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001793/0.7187, allocations: 1.216 MB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.72, allocations: 0.7283 MB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.7201, allocations: 1.438 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.7201, allocations: 7.922 kB / 0.9569 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.7202, allocations: 8.859 kB / 0.9569 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.7208, allocations: 97.33 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.7209, allocations: 77.84 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.721, allocations: 21.25 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.7212, allocations: 29.52 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.7212, allocations: 33.52 kB / 0.9572 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.7213, allocations: 3.312 kB / 0.9572 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.7215, allocations: 96.78 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.7215, allocations: 11.92 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.7216, allocations: 54 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.7218, allocations: 132.6 kB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7218, allocations: 0 / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7218, allocations: 0 / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7219, allocations: 4 kB / 0.9575 GB, free: 5.805 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.00057/0.7224, allocations: 440.4 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.7225, allocations: 8.438 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.7225, allocations: 8.625 kB / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.7226, allocations: 184.2 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.7227, allocations: 2.688 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.7227, allocations: 4.344 kB / 0.9581 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7229, allocations: 88.31 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.7229, allocations: 0 / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7229, allocations: 1.312 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.7229, allocations: 4 kB / 0.9582 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.7231, allocations: 43.41 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.7236, allocations: 310.9 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.7237, allocations: 51.33 kB / 0.9586 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.7238, allocations: 35.16 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.7239, allocations: 5.094 kB / 0.9586 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.7241, allocations: 85.03 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.7241, allocations: 0 / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005317/0.7246, allocations: 158.4 kB / 0.9589 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.7247, allocations: 52.62 kB / 0.9589 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.7248, allocations: 123.7 kB / 0.959 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.7248, allocations: 31.27 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.7249, allocations: 91.16 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.7249, allocations: 18.41 kB / 0.9592 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.725, allocations: 17.94 kB / 0.9592 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.725, allocations: 328.2 kB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.7251, allocations: 24.64 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.7252, allocations: 64.28 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.7254, allocations: 98.17 kB / 0.9597 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7254, allocations: 0 / 0.9597 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000284/0.7257, allocations: 125.8 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.7257, allocations: 10.25 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7258, allocations: 1.688 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7258, allocations: 5.469 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.7259, allocations: 14.52 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7259, allocations: 7.25 kB / 0.9598 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.726, allocations: 13.33 kB / 0.9598 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.726, allocations: 6.75 kB / 0.9598 GB, free: 3.562 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 8.998e-05/0.7261, allocations: 124.6 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.7262, allocations: 2.75 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.7262, allocations: 9.75 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.7262, allocations: 1.375 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7262, allocations: 0 / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7262, allocations: 9.359 kB / 0.96 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.7267, allocations: 397.7 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7267, allocations: 0 / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.7268, allocations: 4.125 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7268, allocations: 1.375 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.7268, allocations: 9.359 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7268, allocations: 3.938 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7268, allocations: 0 / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.7271, allocations: 221.1 kB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.7272, allocations: 86.33 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.7272, allocations: 1.375 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.7273, allocations: 16.05 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.7273, allocations: 6.688 kB / 0.9607 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.7274, allocations: 6.734 kB / 0.9607 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.7274, allocations: 99.64 kB / 0.9608 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7274, allocations: 0 / 0.9608 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000338/0.7278, allocations: 35.5 kB / 0.9608 GB, free: 2.641 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.0003918/0.7282, allocations: 174.3 kB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.7284, allocations: 78.64 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7285, allocations: 1.375 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.7286, allocations: 43.66 kB / 0.9611 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.7289, allocations: 12.05 kB / 0.9611 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.7294, allocations: 209.4 kB / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.7296, allocations: 0.6939 MB / 0.962 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.7297, allocations: 4 kB / 0.962 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.7297, allocations: 10.06 kB / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.7297, allocations: 0 / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of Templates: time 0.004892/0.7346, allocations: 1.387 MB / 0.9634 GB, free: 0.8516 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time