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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.0008443/0.0008444, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.005486/0.005486, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.162/2.162, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002899, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5465, allocations: 142.4 MB / 0.9552 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001194/0.5477, allocations: 1.221 MB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.5487, allocations: 0.7417 MB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.5487, allocations: 0 / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.5487, allocations: 0 / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.5488, allocations: 18.03 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.5492, allocations: 105.4 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.5493, allocations: 88.92 kB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.39e-05/0.5494, allocations: 13.42 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.5495, allocations: 40.11 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.5495, allocations: 37.72 kB / 0.9574 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.5496, allocations: 3.125 kB / 0.9574 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.5497, allocations: 94.41 kB / 0.9575 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.5498, allocations: 19.16 kB / 0.9575 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.5498, allocations: 64.8 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.55, allocations: 143.8 kB / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.55, allocations: 4 kB / 0.9577 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.55, allocations: 0 / 0.9577 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.55, allocations: 1.469 kB / 0.9577 GB, free: 5.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004/0.5504, allocations: 445.6 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5505, allocations: 8.969 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.5505, allocations: 36.52 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.5505, allocations: 10.25 kB / 0.9582 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.437e-05/0.5506, allocations: 183.7 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5506, allocations: 7.969 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.5507, allocations: 5.719 kB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.5508, allocations: 93.28 kB / 0.9584 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5509, allocations: 3.938 kB / 0.9584 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.5509, allocations: 1.156 kB / 0.9584 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5509, allocations: 5.312 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.551, allocations: 57.31 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.5514, allocations: 324.5 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.5516, allocations: 68.62 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.5517, allocations: 47.42 kB / 0.9589 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5517, allocations: 1.375 kB / 0.9589 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.5519, allocations: 98.45 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.5519, allocations: 4 kB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004109/0.5523, allocations: 194 kB / 0.9592 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.5523, allocations: 57.97 kB / 0.9593 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.5524, allocations: 126.4 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.5524, allocations: 31.14 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.5524, allocations: 92.53 kB / 0.9595 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5525, allocations: 27.31 kB / 0.9595 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.5525, allocations: 18.66 kB / 0.9596 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.5525, allocations: 324.3 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.5526, allocations: 30.89 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.5527, allocations: 82.89 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.5529, allocations: 117 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5529, allocations: 1.75 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002193/0.5531, allocations: 145.2 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5531, allocations: 9.531 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5531, allocations: 1.375 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5531, allocations: 2.75 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.5532, allocations: 12.38 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5532, allocations: 6.734 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.5533, allocations: 17.34 kB / 0.9603 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.5533, allocations: 5.875 kB / 0.9603 GB, free: 3.258 MB / 0.7169 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 5.998e-05/0.5534, allocations: 128.6 kB / 0.9604 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.5534, allocations: 8.031 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.5534, allocations: 13.73 kB / 0.9604 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5534, allocations: 5.312 kB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5535, allocations: 0 / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5535, allocations: 0 / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.5539, allocations: 443.7 kB / 0.9608 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5539, allocations: 0 / 0.9608 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.5539, allocations: 5.5 kB / 0.9609 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5539, allocations: 3.984 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5539, allocations: 1.375 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5539, allocations: 1.375 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5539, allocations: 3.938 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.5542, allocations: 259 kB / 0.9611 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.5542, allocations: 87.7 kB / 0.9612 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.5543, allocations: 1.375 kB / 0.9612 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.5544, allocations: 8.109 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.5544, allocations: 10.62 kB / 0.9612 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5544, allocations: 10.73 kB / 0.9612 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.5545, allocations: 99.52 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5545, allocations: 0 / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002733/0.5547, allocations: 43.61 kB / 0.9614 GB, free: 2.285 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: 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.000592/0.5553, allocations: 0.851 MB / 0.9622 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5556, allocations: 93.89 kB / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5556, allocations: 9.281 kB / 0.9623 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.5557, allocations: 48.33 kB / 0.9623 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.556, allocations: 14.39 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.5572, allocations: 1.64 MB / 0.9639 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.5574, allocations: 0.6953 MB / 0.9646 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.5574, allocations: 7.469 kB / 0.9646 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.5575, allocations: 23.02 kB / 0.9647 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5575, allocations: 1.125 kB / 0.9647 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4534/1.011, allocations: 2.657 MB / 0.9673 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/1.011, allocations: 274.9 kB / 0.9675 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/3.049, allocations: 4.969 kB / 0.9675 GB, free: 13.62 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > 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