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.0009966/0.0009967, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009415/0.0009416, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.259/2.259, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5879, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002345/0.5903, allocations: 1.503 MB / 0.9512 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.5913, allocations: 0.7461 MB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.5913, allocations: 1.906 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.5914, allocations: 7.922 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.5914, allocations: 13.34 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.5919, allocations: 126.7 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.592, allocations: 97.06 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.5921, allocations: 18.2 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.5922, allocations: 36.06 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.5923, allocations: 48.66 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.5923, allocations: 8.625 kB / 0.9523 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.5925, allocations: 99.66 kB / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.5925, allocations: 19.58 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.5925, allocations: 45.19 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.5927, allocations: 147.3 kB / 0.9526 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5927, allocations: 0.7812 kB / 0.9526 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5927, allocations: 4 kB / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5928, allocations: 0 / 0.9526 GB, free: 7.027 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.0004878/0.5932, allocations: 459 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5933, allocations: 10.03 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.5933, allocations: 35.97 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.5934, allocations: 9.656 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.5935, allocations: 183.6 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.5935, allocations: 12.66 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.5935, allocations: 5 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5937, allocations: 93.98 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.5937, allocations: 5.016 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5937, allocations: 1.094 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5937, allocations: 1.062 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5939, allocations: 52.42 kB / 0.9534 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.5943, allocations: 327.3 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.5945, allocations: 60.7 kB / 0.9538 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.5946, allocations: 44.56 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.5946, allocations: 1 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.5948, allocations: 103.5 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5948, allocations: 1.094 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000417/0.5952, allocations: 184.5 kB / 0.9541 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5953, allocations: 53.69 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.5953, allocations: 127.4 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.5953, allocations: 27.98 kB / 0.9543 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.5954, allocations: 94.58 kB / 0.9544 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.5954, allocations: 27.06 kB / 0.9544 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.5954, allocations: 31.92 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.5955, allocations: 326.2 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.5956, allocations: 27.14 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.5957, allocations: 74.42 kB / 0.9548 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.5958, allocations: 108.6 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5958, allocations: 0 / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002156/0.5961, allocations: 136.5 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5961, allocations: 10.94 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5961, allocations: 1.562 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5961, allocations: 2.844 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.5962, allocations: 19.42 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5962, allocations: 2.406 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.5963, allocations: 12.64 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5963, allocations: 12.88 kB / 0.9551 GB, free: 4.609 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.495e-05/0.5964, allocations: 124.8 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.5964, allocations: 7.562 kB / 0.9553 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.5964, allocations: 9.656 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5964, allocations: 9.266 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5964, allocations: 1.281 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5964, allocations: 0 / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.5968, allocations: 441.9 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5968, allocations: 0 / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.5969, allocations: 3.531 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5969, allocations: 1.5 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5969, allocations: 3.984 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5969, allocations: 1.406 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5969, allocations: 3.938 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.5972, allocations: 249.4 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.5972, allocations: 91.78 kB / 0.956 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5973, allocations: 5.594 kB / 0.956 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.5974, allocations: 6.828 kB / 0.956 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.5974, allocations: 10.75 kB / 0.9561 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.5974, allocations: 6.859 kB / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.5975, allocations: 99.67 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5975, allocations: 2.688 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002792/0.5978, allocations: 42.66 kB / 0.9562 GB, free: 3.637 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.0006589/0.5984, allocations: 0.8434 MB / 0.957 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.5987, allocations: 93.55 kB / 0.9571 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5987, allocations: 0 / 0.9571 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5988, allocations: 51.09 kB / 0.9572 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5991, allocations: 19.58 kB / 0.9572 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.6004, allocations: 1.595 MB / 0.9587 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.6005, allocations: 0.695 MB / 0.9594 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.6005, allocations: 8.453 kB / 0.9594 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.6006, allocations: 26.28 kB / 0.9594 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6006, allocations: 1.375 kB / 0.9594 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.6201, allocations: 2.938 MB / 0.9623 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.578, allocations: 11.11 kB / 0.9623 GB, free: 15.08 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