Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.00092/0.0009201, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006007/0.006007, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6042, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001852/0.6061, allocations: 1.227 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.6073, allocations: 0.7326 MB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.6073, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.6073, allocations: 3.984 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.6074, allocations: 19.8 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.6078, allocations: 103.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.6079, allocations: 83.77 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.608, allocations: 16 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.6081, allocations: 35.84 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.6082, allocations: 39.83 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.6082, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.6084, allocations: 95.84 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.6084, allocations: 15.97 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.6085, allocations: 69.42 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.6087, allocations: 145.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6087, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6087, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6087, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 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.0005226/0.6093, allocations: 446.5 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6093, allocations: 8.031 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.6094, allocations: 42.73 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.6094, allocations: 8.844 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.6095, allocations: 180 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6095, allocations: 12.36 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.6096, allocations: 8.375 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.6098, allocations: 85.58 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.6098, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.6098, allocations: 7.984 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6098, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.61, allocations: 59.89 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.6105, allocations: 320.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.6106, allocations: 66.55 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.6107, allocations: 52.84 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.6108, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.611, allocations: 95.39 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.611, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.6114, allocations: 201.7 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6115, allocations: 55.41 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.6116, allocations: 129.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.6116, allocations: 33.64 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.6117, allocations: 92.36 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.6117, allocations: 23.75 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.6117, allocations: 21.7 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6118, allocations: 322.8 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.6119, allocations: 35.97 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.612, allocations: 80.33 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.6122, allocations: 113.9 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6122, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002554/0.6125, allocations: 137.4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6125, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6125, allocations: 12.09 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.6125, allocations: 3.938 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.6126, allocations: 19.98 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6126, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.6127, allocations: 11.84 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.6127, allocations: 8 kB / 1.028 GB, free: 10.29 MB / 0.7794 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 8.388e-05/0.6128, allocations: 129.7 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.6129, allocations: 11.91 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.6129, allocations: 12.38 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6129, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6129, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6129, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.6134, allocations: 434.5 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6134, allocations: 8 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.6135, allocations: 7.984 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.6135, allocations: 96 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.6135, allocations: 7.984 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6135, allocations: 3.938 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6135, allocations: 0 / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.6139, allocations: 259.4 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.6139, allocations: 88.95 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.6139, allocations: 7.984 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.614, allocations: 7.938 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.6141, allocations: 7.984 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6141, allocations: 7.938 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.6142, allocations: 99.27 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6142, allocations: 0 / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002934/0.6145, allocations: 47.98 kB / 1.029 GB, free: 9.066 MB / 0.7794 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.02706/0.6415, allocations: 0.8479 MB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.6419, allocations: 100 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.642, allocations: 0 / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.6421, allocations: 52.23 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6425, allocations: 19.92 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.6442, allocations: 1.627 MB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.6445, allocations: 0.6965 MB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.6445, allocations: 7.984 kB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.6445, allocations: 19.44 kB / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/0.6446, allocations: 0 / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9854/1.63, allocations: 2.656 MB / 1.035 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/1.63, allocations: 272 kB / 1.035 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/5.121, allocations: 5.344 kB / 1.035 GB, free: 2.715 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches