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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 91.84 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.005417/0.005417, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.14/2.14, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5667, allocations: 142.4 MB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.00119/0.5679, allocations: 1.215 MB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.5688, allocations: 0.7287 MB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.5688, allocations: 1.062 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.5689, allocations: 3.938 kB / 0.9571 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.5689, allocations: 9.141 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.5693, allocations: 105.2 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.5694, allocations: 69.91 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.322e-05/0.5695, allocations: 21.5 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.5695, allocations: 25.45 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.5696, allocations: 33.8 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.5696, allocations: 2.844 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.5698, allocations: 93.81 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.5698, allocations: 14.02 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.5698, allocations: 55 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.57, allocations: 136.6 kB / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.57, allocations: 0 / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.57, allocations: 3.938 kB / 0.9576 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.57, allocations: 1.312 kB / 0.9576 GB, free: 5.777 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.0003841/0.5704, allocations: 447.1 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.5704, allocations: 9.594 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.5705, allocations: 30.75 kB / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.5705, allocations: 9 kB / 0.9581 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.121e-05/0.5706, allocations: 185.7 kB / 0.9583 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5706, allocations: 5.969 kB / 0.9583 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.5706, allocations: 3.562 kB / 0.9583 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5708, allocations: 71.59 kB / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.5708, allocations: 1.562 kB / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5708, allocations: 7.984 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5708, allocations: 1.469 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.571, allocations: 46.81 kB / 0.9584 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.5713, allocations: 301.3 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5714, allocations: 57.16 kB / 0.9587 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.5715, allocations: 38.91 kB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.5716, allocations: 4.062 kB / 0.9588 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.5717, allocations: 88.75 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.5717, allocations: 1.812 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003484/0.5721, allocations: 153 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5721, allocations: 58.16 kB / 0.9591 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.5722, allocations: 122.3 kB / 0.9592 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.5722, allocations: 27.08 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.5722, allocations: 94.89 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5723, allocations: 22.48 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.5723, allocations: 21.83 kB / 0.9593 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.5723, allocations: 325.5 kB / 0.9597 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.5724, allocations: 23.11 kB / 0.9597 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.5725, allocations: 64.39 kB / 0.9597 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5726, allocations: 98.12 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5726, allocations: 5.312 kB / 0.9598 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001928/0.5728, allocations: 125.7 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5728, allocations: 5.656 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5728, allocations: 5.375 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5729, allocations: 2.75 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.5729, allocations: 14.98 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.573, allocations: 1.375 kB / 0.96 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.573, allocations: 9.406 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.573, allocations: 8.062 kB / 0.96 GB, free: 3.492 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 5.445e-05/0.5731, allocations: 119.3 kB / 0.9601 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.5731, allocations: 20.02 kB / 0.9601 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.5731, allocations: 9.688 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5731, allocations: 1.375 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5731, allocations: 0 / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5731, allocations: 0 / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.5735, allocations: 390.2 kB / 0.9605 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5735, allocations: 4 kB / 0.9605 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.5736, allocations: 9.859 kB / 0.9605 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5736, allocations: 0 / 0.9605 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.5736, allocations: 4.906 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5736, allocations: 4.812 kB / 0.9605 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5736, allocations: 0 / 0.9605 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.5738, allocations: 220.4 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.5739, allocations: 87.08 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.5739, allocations: 9.109 kB / 0.9608 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.574, allocations: 7.844 kB / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.574, allocations: 11.36 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.574, allocations: 1.594 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.5741, allocations: 96.73 kB / 0.961 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5741, allocations: 0 / 0.961 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002621/0.5743, allocations: 44.89 kB / 0.961 GB, free: 2.566 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.0005514/0.5749, allocations: 0.8178 MB / 0.9618 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.5751, allocations: 74.25 kB / 0.9619 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5751, allocations: 1.062 kB / 0.9619 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.5752, allocations: 51.2 kB / 0.9619 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.5755, allocations: 13.66 kB / 0.9619 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.5766, allocations: 1.557 MB / 0.9634 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.5767, allocations: 0.6854 MB / 0.9641 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.5768, allocations: 11.64 kB / 0.9641 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.5768, allocations: 17.78 kB / 0.9641 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5768, allocations: 1.375 kB / 0.9641 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.116/2.693, allocations: 2.403 MB / 0.9665 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/2.693, allocations: 284 kB / 0.9668 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/4.722, allocations: 0 / 0.9668 GB, free: 14.11 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > 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) "" 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,occ.startTime,occ.startValue,occ.y,time