Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.001718/0.001718, 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.001646/0.001646, allocations: 196.7 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.548/2.548, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 71.88 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6259, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003022/0.629, allocations: 1.523 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.6299, allocations: 454.9 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.63, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.6301, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.6302, allocations: 11.92 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.6304, allocations: 15.98 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.6305, allocations: 51.78 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.6306, allocations: 12 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.6307, allocations: 27.84 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.6308, allocations: 19.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.6308, allocations: 4 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.6308, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.6308, allocations: 15.92 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.6309, allocations: 15.94 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.454e-05/0.631, allocations: 50.05 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.631, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.01e-07/0.631, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.631, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005212/0.6316, allocations: 400.4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6316, allocations: 12.03 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.6316, allocations: 30.75 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.6317, allocations: 8.844 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.6318, allocations: 172.2 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.6319, allocations: 8.375 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.6319, allocations: 4.375 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6321, allocations: 69.73 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6321, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.6321, allocations: 3.984 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6321, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.6322, allocations: 31.97 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.6327, allocations: 284.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6328, allocations: 38.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.6329, allocations: 24.94 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.633, allocations: 7.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.6332, allocations: 71.39 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.6332, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000364/0.6335, allocations: 113.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.6336, allocations: 51.41 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.6337, allocations: 117.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6337, allocations: 25.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.6338, allocations: 92.12 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.6338, allocations: 23.73 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.6338, allocations: 21.72 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.634, allocations: 318.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.634, allocations: 19.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.6341, allocations: 44.28 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.6343, allocations: 72.22 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6343, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002448/0.6345, allocations: 97.53 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6346, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6346, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6346, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.6347, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6347, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.6348, allocations: 15.83 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.6348, allocations: 4.25 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.0001766/0.635, allocations: 121.9 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.635, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.635, allocations: 12.34 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.635, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.635, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.635, allocations: 3.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.6354, allocations: 350.3 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6355, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.6355, allocations: 4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6355, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6355, allocations: 4 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6355, allocations: 4.094 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6355, allocations: 0 / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.6358, allocations: 183.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.6358, allocations: 85 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.6359, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.6359, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.636, allocations: 7.922 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.636, allocations: 7.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.6361, allocations: 91.27 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6361, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002389/0.6363, allocations: 12 kB / 1.022 GB, free: 13.13 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006125/0.6369, allocations: 0.7203 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.6371, allocations: 60.14 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6371, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.6372, allocations: 27.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.6375, allocations: 16.86 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.6391, allocations: 1.392 MB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.6394, allocations: 0.6965 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.6395, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.6395, allocations: 19.44 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6395, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.657, allocations: 1.424 MB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.6572, allocations: 240.4 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.32, allocations: 2.672 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches