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.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: 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.001689/0.001688, 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.002333/0.002334, allocations: 188.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.583/1.583, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.604/2.604, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 55.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6833, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002613/0.6859, allocations: 1.526 MB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.6866, allocations: 458.9 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.6867, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.6867, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.6868, allocations: 15.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.687, allocations: 11.98 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.6871, allocations: 55.78 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.6872, allocations: 8 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.6873, allocations: 35.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.6873, allocations: 15.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.6873, allocations: 4 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.6874, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.6874, allocations: 11.98 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.6874, allocations: 19.88 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.6875, allocations: 53.77 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6875, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6876, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6876, allocations: 4 kB / 1.019 GB, free: 0.5469 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.0005103/0.6881, allocations: 410.7 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.6881, allocations: 12.03 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.6882, allocations: 4.844 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6883, allocations: 176.2 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.6883, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6883, allocations: 384 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.6885, allocations: 61.98 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6885, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6886, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6886, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.6887, allocations: 39.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.6891, allocations: 272.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.6892, allocations: 42.56 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.6893, allocations: 28.92 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6893, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.6895, allocations: 79.31 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.6895, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003429/0.6899, allocations: 113.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6899, allocations: 55.41 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.69, allocations: 113.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.69, allocations: 29.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.6901, allocations: 92.12 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.6901, allocations: 15.73 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.6902, allocations: 17.72 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6903, allocations: 330.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.6903, allocations: 15.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.6904, allocations: 48.22 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.6906, allocations: 72.22 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6906, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.6908, allocations: 81.55 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6908, allocations: 16.09 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6908, allocations: 4.141 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6908, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.6909, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6909, allocations: 7.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.691, allocations: 11.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.691, allocations: 4 kB / 1.021 GB, free: 14.14 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 8.754e-05/0.6911, allocations: 118.3 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.6911, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.6911, allocations: 7.969 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6912, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6912, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6912, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.6916, allocations: 342.5 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6916, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.6916, allocations: 7.984 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6917, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6917, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6917, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6917, allocations: 8.25 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.6919, allocations: 187.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.692, allocations: 85.02 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.692, allocations: 3.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.6921, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.6921, allocations: 11.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.6922, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.6922, allocations: 91.59 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6922, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.6925, allocations: 8 kB / 1.022 GB, free: 13.17 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.0001149/0.6926, allocations: 107.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.6928, allocations: 55.91 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6928, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6929, allocations: 27.92 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.6932, allocations: 12.73 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.6936, allocations: 180 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.6939, allocations: 0.6807 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.6939, allocations: 7.984 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.6939, allocations: 7.438 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6939, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.002646/0.6966, allocations: 0.5351 MB / 1.023 GB, free: 11.52 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/jenkins/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