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.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.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.001251/0.001251, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001302/0.001302, allocations: 187.7 kB / 16.25 MB, free: 6.633 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.26/1.26, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.081/2.081, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5633, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002249/0.5656, allocations: 1.554 MB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.5666, allocations: 0.7371 MB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.5667, allocations: 5.312 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.5667, allocations: 0 / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.5668, allocations: 13.23 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.5673, allocations: 119 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.5674, allocations: 97.61 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.5675, allocations: 18.27 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.5675, allocations: 37.06 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.5676, allocations: 44.45 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.5676, allocations: 7.531 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.5678, allocations: 99.44 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.5678, allocations: 19.86 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.5679, allocations: 55.58 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.5681, allocations: 147.3 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.5681, allocations: 0 / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5681, allocations: 0 / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5681, allocations: 1.062 kB / 0.9521 GB, free: 6.938 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.0004746/0.5686, allocations: 458.3 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5686, allocations: 8.938 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.5686, allocations: 40.42 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.5687, allocations: 10.5 kB / 0.9526 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.5688, allocations: 176.1 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5688, allocations: 7.219 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5688, allocations: 18.33 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.569, allocations: 89.62 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.569, allocations: 0 / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.569, allocations: 1.438 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5691, allocations: 1.344 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5692, allocations: 48.83 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.5696, allocations: 326.4 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.5698, allocations: 61.62 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.5699, allocations: 49.08 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.5699, allocations: 1.312 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.5701, allocations: 94.39 kB / 0.9534 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.5701, allocations: 0 / 0.9534 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004334/0.5705, allocations: 192.9 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.5706, allocations: 54.25 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.5706, allocations: 127.3 kB / 0.9538 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5707, allocations: 31.33 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.5707, allocations: 91.28 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.5707, allocations: 27.83 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.5708, allocations: 31.52 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.5708, allocations: 325.4 kB / 0.9543 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.5709, allocations: 28.17 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.571, allocations: 78.23 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.5711, allocations: 108.2 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5712, allocations: 1.406 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002166/0.5714, allocations: 134.8 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5714, allocations: 5.375 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5714, allocations: 1.844 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5714, allocations: 3.188 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.5715, allocations: 23.39 kB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5715, allocations: 2.188 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.5716, allocations: 9.75 kB / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.5716, allocations: 7.969 kB / 0.9547 GB, free: 4.527 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.684e-05/0.5717, allocations: 128.8 kB / 0.9548 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.5717, allocations: 7.656 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.5717, allocations: 9.562 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5717, allocations: 5.156 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5718, allocations: 5.281 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5718, allocations: 0 / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.5722, allocations: 437.7 kB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5722, allocations: 0 / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.5722, allocations: 12.23 kB / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5723, allocations: 480 / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5723, allocations: 1.25 kB / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5723, allocations: 5.453 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5723, allocations: 7.938 kB / 0.9553 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.5726, allocations: 244.9 kB / 0.9555 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.5726, allocations: 91.38 kB / 0.9556 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.5726, allocations: 5.094 kB / 0.9556 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.5727, allocations: 3.344 kB / 0.9556 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.5728, allocations: 11.2 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.5728, allocations: 7.625 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.5728, allocations: 100.8 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5728, allocations: 0 / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002947/0.5731, allocations: 43.98 kB / 0.9557 GB, free: 3.551 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.0006364/0.5738, allocations: 0.8441 MB / 0.9566 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.574, allocations: 88.83 kB / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.574, allocations: 0 / 0.9567 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.5742, allocations: 54.62 kB / 0.9567 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5744, allocations: 17.89 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5757, allocations: 1.614 MB / 0.9583 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.726e-05/0.5758, allocations: 0.6904 MB / 0.959 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.5758, allocations: 4.438 kB / 0.959 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.5759, allocations: 26.3 kB / 0.959 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/0.5759, allocations: 1.5 kB / 0.959 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2432/0.819, allocations: 2.834 MB / 0.9618 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.8193, allocations: 277.8 kB / 0.962 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.782, allocations: 0 / 0.962 GB, free: 14.75 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