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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 100.1 kB / 15.88 MB, free: 12 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.001369/0.001369, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.542/2.542, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 67.91 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6193, 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.003377/0.6227, allocations: 1.538 MB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.6236, allocations: 450.9 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.6237, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.6238, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.6239, allocations: 19.86 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.6241, allocations: 19.97 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.6243, allocations: 47.8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.6244, allocations: 8 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.6245, allocations: 15.98 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.6246, allocations: 27.84 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.6246, allocations: 4 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.6246, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.6247, allocations: 11.98 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.6247, allocations: 19.86 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.6248, allocations: 29.92 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6249, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6249, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6249, allocations: 0 / 1.019 GB, free: 0.5547 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.0005316/0.6254, allocations: 400.7 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6255, allocations: 8.031 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.6255, allocations: 12.84 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.6257, allocations: 172.2 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6257, allocations: 8.375 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6257, allocations: 384 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6259, allocations: 61.98 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6259, allocations: 7.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6259, allocations: 3.984 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.626, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.6261, allocations: 39.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.6266, allocations: 280.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.6267, allocations: 34.56 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.6268, allocations: 24.94 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.6268, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.6271, allocations: 75.31 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.6271, allocations: 7.938 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000389/0.6275, allocations: 109.5 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6275, allocations: 55.41 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.6277, allocations: 113.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6277, allocations: 25.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.6277, allocations: 88.14 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.6278, allocations: 19.73 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.6278, allocations: 21.72 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.628, allocations: 318.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.628, allocations: 15.94 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.6281, allocations: 56.27 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.6283, allocations: 72.22 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6283, allocations: 256 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002117/0.6285, allocations: 89.55 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6285, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6285, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6286, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.6287, allocations: 12.14 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6287, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.6287, allocations: 7.906 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.6288, allocations: 7.984 kB / 1.021 GB, free: 14.16 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.0001049/0.6289, allocations: 118.3 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.6289, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.6289, allocations: 7.969 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6289, allocations: 7.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6289, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6289, allocations: 7.938 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.6294, allocations: 338.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6294, allocations: 384 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.6295, allocations: 7.984 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6295, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6295, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.6295, allocations: 7.938 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.6295, allocations: 7.875 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.6298, allocations: 183.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.6299, allocations: 81.02 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6299, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.63, allocations: 7.984 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.63, allocations: 7.922 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.63, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.6301, allocations: 87.28 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6301, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002407/0.6304, allocations: 12 kB / 1.022 GB, free: 13.18 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.0001251/0.6305, allocations: 99.23 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.6307, allocations: 52.03 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6307, allocations: 4.312 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.6308, allocations: 35.92 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.6311, allocations: 7.984 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.6316, allocations: 203.1 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.6318, allocations: 0.6848 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.6319, allocations: 11.44 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6319, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.0025/0.6344, allocations: 0.7408 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (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 & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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