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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001194/0.001194, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.144/2.144, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5613, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002001/0.5633, allocations: 1.555 MB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.5642, allocations: 0.7521 MB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.5642, allocations: 1.156 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.5642, allocations: 7.938 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.5643, allocations: 10.67 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.5645, allocations: 108.7 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.5646, allocations: 85.44 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.5647, allocations: 17.72 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.5647, allocations: 41 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.5648, allocations: 44.3 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.5648, allocations: 4.719 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.565, allocations: 94.38 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.565, allocations: 16.11 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.565, allocations: 38.69 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.5652, allocations: 146.4 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.5652, allocations: 0 / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5652, allocations: 1.156 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.594e-06/0.5652, allocations: 0 / 0.9519 GB, free: 6.953 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.0003507/0.5656, allocations: 466.7 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.487e-05/0.5656, allocations: 8.938 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.098e-05/0.5656, allocations: 45.08 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.5656, allocations: 8.562 kB / 0.9524 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.542e-05/0.5657, allocations: 173.1 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5657, allocations: 8.219 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.5657, allocations: 4.312 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5659, allocations: 94.81 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-06/0.5659, allocations: 3.938 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5659, allocations: 1.031 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-06/0.5659, allocations: 1.094 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.5661, allocations: 45.5 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.5664, allocations: 326.3 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5666, allocations: 69 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.5667, allocations: 45.02 kB / 0.9531 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.5667, allocations: 1.5 kB / 0.9531 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.5669, allocations: 90.92 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5669, allocations: 4 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003959/0.5673, allocations: 189.5 kB / 0.9534 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.5673, allocations: 53.91 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.5674, allocations: 127.5 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5674, allocations: 31.05 kB / 0.9536 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.5674, allocations: 88.56 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5674, allocations: 26.33 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.5675, allocations: 36.02 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.5675, allocations: 325.6 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.5676, allocations: 31.38 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.5677, allocations: 68.7 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5679, allocations: 111 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5679, allocations: 1.344 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002254/0.5681, allocations: 142.8 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5681, allocations: 6.875 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5681, allocations: 5.5 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.5681, allocations: 1.406 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.5682, allocations: 19.86 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5682, allocations: 6.812 kB / 0.9544 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.5683, allocations: 12.84 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5683, allocations: 5 kB / 0.9545 GB, free: 4.535 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.959e-05/0.5684, allocations: 129.4 kB / 0.9546 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.5684, allocations: 7.625 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.5684, allocations: 10.62 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5684, allocations: 1.062 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5684, allocations: 0 / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5685, allocations: 1.219 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.5689, allocations: 440.8 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5689, allocations: 1.5 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.5689, allocations: 10.83 kB / 0.955 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5689, allocations: 1.344 kB / 0.955 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.569, allocations: 1.531 kB / 0.955 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.569, allocations: 0 / 0.955 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.569, allocations: 3.938 kB / 0.955 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.5693, allocations: 257.7 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.5693, allocations: 87.3 kB / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.5693, allocations: 5.422 kB / 0.9554 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.5694, allocations: 2.844 kB / 0.9554 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.5695, allocations: 10.83 kB / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5695, allocations: 6.875 kB / 0.9554 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.5695, allocations: 98.11 kB / 0.9555 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5695, allocations: 0 / 0.9555 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002881/0.5698, allocations: 43.36 kB / 0.9555 GB, free: 3.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: 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.0006329/0.5705, allocations: 0.8365 MB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5707, allocations: 100.6 kB / 0.9564 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5707, allocations: 3.938 kB / 0.9564 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.5708, allocations: 45.73 kB / 0.9565 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5711, allocations: 18.67 kB / 0.9565 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5723, allocations: 1.612 MB / 0.9581 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.5724, allocations: 0.6955 MB / 0.9588 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.5725, allocations: 4.625 kB / 0.9588 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.5725, allocations: 22.33 kB / 0.9588 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5725, allocations: 3.938 kB / 0.9588 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.511/1.083, allocations: 2.756 MB / 0.9615 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.084, allocations: 273.9 kB / 0.9617 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.746, allocations: 0 / 0.9617 GB, free: 14.8 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