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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001027/0.001027, 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.001023/0.001023, allocations: 194.5 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.195/1.195, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.268/2.268, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6877, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003723/0.6914, allocations: 1.581 MB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.6931, allocations: 0.7402 MB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.6932, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.6933, allocations: 3.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.6934, allocations: 11.88 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.694, allocations: 119.8 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.6942, allocations: 91.77 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6943, allocations: 7.984 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.6944, allocations: 39.86 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.6945, allocations: 51.81 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.6946, allocations: 4 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.6948, allocations: 99.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.6949, allocations: 19.98 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.695, allocations: 47.77 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.6953, allocations: 153.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6953, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6953, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6953, allocations: 0 / 1.02 GB, free: 15.7 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.0008224/0.6962, allocations: 462.5 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6962, allocations: 8.031 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.6963, allocations: 38.73 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.6964, allocations: 8.844 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.6965, allocations: 176.2 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.6966, allocations: 8.375 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.6966, allocations: 4.375 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.697, allocations: 93.69 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.697, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.697, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.697, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.6973, allocations: 47.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.6981, allocations: 324.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.6983, allocations: 66.56 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.6985, allocations: 44.83 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.6985, allocations: 96 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.6989, allocations: 95.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.6989, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007099/0.6996, allocations: 189.5 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.6997, allocations: 59.41 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.6999, allocations: 121.8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.6999, allocations: 33.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.7, allocations: 92.28 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.7, allocations: 19.73 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.7001, allocations: 37.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7003, allocations: 326.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.7004, allocations: 27.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.7006, allocations: 76.19 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.7009, allocations: 105.9 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7009, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003936/0.7013, allocations: 141.5 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7014, allocations: 7.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7014, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7014, allocations: 4.359 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.7015, allocations: 15.98 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7016, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.7017, allocations: 15.84 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.7017, allocations: 7.938 kB / 1.022 GB, free: 12.79 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 0.0001508/0.7019, allocations: 139.8 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.7019, allocations: 7.906 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.702, allocations: 8.375 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.702, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.702, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.702, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.7028, allocations: 434.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7028, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.7029, allocations: 11.98 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7029, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.7029, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.703, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.703, allocations: 7.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.7034, allocations: 247.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.7035, allocations: 88.95 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.7036, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.7037, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.7038, allocations: 19.86 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.7038, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.7039, allocations: 100.4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7039, allocations: 0 / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004946/0.7044, allocations: 43.98 kB / 1.023 GB, free: 11.59 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.001125/0.7055, allocations: 0.8449 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.7059, allocations: 99.89 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7059, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.7061, allocations: 43.97 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.7066, allocations: 19.88 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.7091, allocations: 1.614 MB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7094, allocations: 0.6931 MB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.317e-05/0.7095, allocations: 8 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.7096, allocations: 23.42 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.7096, allocations: 0 / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/1.735, allocations: 2.84 MB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/1.735, allocations: 268.1 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.949, allocations: 2.625 kB / 1.03 GB, free: 5.09 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