Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001299/0.001299, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001286/0.001286, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.112/2.112, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 68.03 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5367, allocations: 140.4 MB / 0.9492 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002045/0.5387, allocations: 1.563 MB / 0.9508 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.5396, allocations: 0.734 MB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.5396, allocations: 1.125 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.5397, allocations: 3.938 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.5397, allocations: 14.67 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.5402, allocations: 117.9 kB / 0.9516 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.5403, allocations: 94.23 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.5403, allocations: 14.36 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.5404, allocations: 41.02 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.5405, allocations: 44.66 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.5405, allocations: 8.906 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.5406, allocations: 99.53 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.5407, allocations: 26.73 kB / 0.9519 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.5407, allocations: 43.67 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.5409, allocations: 152.1 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5409, allocations: 0 / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5409, allocations: 0 / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5409, allocations: 0 / 0.9521 GB, free: 7.059 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.0004313/0.5414, allocations: 466.5 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.5414, allocations: 13.33 kB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.5414, allocations: 32.97 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.5415, allocations: 12.78 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.196e-05/0.5415, allocations: 179.7 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5416, allocations: 8.609 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5416, allocations: 12.41 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.5418, allocations: 87.05 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5418, allocations: 0 / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5418, allocations: 9.266 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5418, allocations: 1.312 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.5419, allocations: 44.28 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.5423, allocations: 318.5 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.5425, allocations: 74.3 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.5426, allocations: 39.88 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.5426, allocations: 1.219 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5428, allocations: 92.11 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.5428, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003973/0.5432, allocations: 188.4 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.5432, allocations: 62.27 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.5433, allocations: 120.4 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5433, allocations: 39.23 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.5433, allocations: 90.95 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.5433, allocations: 27.64 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.5434, allocations: 31.23 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.5434, allocations: 333.5 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.5435, allocations: 23.95 kB / 0.9543 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.5436, allocations: 74.14 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5437, allocations: 109.1 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5437, allocations: 0 / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002087/0.544, allocations: 140 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.544, allocations: 5 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.544, allocations: 2.188 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.544, allocations: 6 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.5441, allocations: 15.95 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5441, allocations: 6.25 kB / 0.9547 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.5442, allocations: 17.14 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5442, allocations: 4.781 kB / 0.9547 GB, free: 4.641 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 6.043e-05/0.5442, allocations: 124.7 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.5443, allocations: 7.906 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.5443, allocations: 13.92 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5443, allocations: 1.469 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5443, allocations: 3.938 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5443, allocations: 0 / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.5447, allocations: 433.6 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5447, allocations: 3.938 kB / 0.9552 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.5448, allocations: 8 kB / 0.9552 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5448, allocations: 0.7812 kB / 0.9552 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5448, allocations: 5.391 kB / 0.9552 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5448, allocations: 0 / 0.9552 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5448, allocations: 5.344 kB / 0.9553 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.5451, allocations: 248.5 kB / 0.9555 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.5451, allocations: 91.67 kB / 0.9556 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.5451, allocations: 5.312 kB / 0.9556 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.5452, allocations: 6.734 kB / 0.9556 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.5453, allocations: 8.094 kB / 0.9556 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5453, allocations: 6.766 kB / 0.9556 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.5453, allocations: 98.27 kB / 0.9557 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5453, allocations: 0 / 0.9557 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002713/0.5456, allocations: 39.44 kB / 0.9557 GB, free: 3.676 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.0005857/0.5462, allocations: 0.8383 MB / 0.9566 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.5464, allocations: 101.9 kB / 0.9567 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5464, allocations: 0 / 0.9567 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.5465, allocations: 52.58 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.5468, allocations: 15.3 kB / 0.9567 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5479, allocations: 1.611 MB / 0.9583 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.847e-05/0.548, allocations: 0.6902 MB / 0.959 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.5481, allocations: 8.219 kB / 0.959 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.5481, allocations: 27.58 kB / 0.959 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5481, allocations: 0 / 0.959 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/0.9344, allocations: 2.809 MB / 0.9617 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.9347, allocations: 266.8 kB / 0.962 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.909, allocations: 2 kB / 0.962 GB, free: 14.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches