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.001619/0.001619, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.001899/0.001899, allocations: 197.5 kB / 17.31 MB, free: 5.18 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.499/2.499, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 59.38 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003644/0.2695, allocations: 1.478 MB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.2705, allocations: 452.4 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.2706, allocations: 0 / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.2706, allocations: 3.938 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2707, allocations: 15.86 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.2709, allocations: 31.91 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.271, allocations: 55.78 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2712, allocations: 4 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2713, allocations: 23.92 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.2714, allocations: 23.91 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2714, allocations: 4 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2714, allocations: 4 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.2715, allocations: 15.92 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.2715, allocations: 27.86 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.2717, allocations: 43.83 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2717, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2717, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2717, allocations: 0 / 1.021 GB, free: 7.715 MB / 0.795 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.0006011/0.2723, allocations: 406.8 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2724, allocations: 8.922 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.2724, allocations: 8.844 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2726, allocations: 180.3 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2726, allocations: 384 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2726, allocations: 4.375 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2728, allocations: 65.92 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2728, allocations: 0 / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2729, allocations: 0 / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2729, allocations: 0 / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.2731, allocations: 39.91 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.2736, allocations: 288.8 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2737, allocations: 34.56 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2738, allocations: 28.94 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2739, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.274, allocations: 79.31 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.2741, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0004418/0.2745, allocations: 105.5 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2746, allocations: 55.41 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2747, allocations: 109.8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2748, allocations: 37.7 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.2748, allocations: 88.12 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.2749, allocations: 11.81 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.2749, allocations: 17.72 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.275, allocations: 326.7 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.2751, allocations: 19.98 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.2752, allocations: 48.53 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2753, allocations: 64.22 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2753, allocations: 8 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.2755, allocations: 93.53 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2756, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2756, allocations: 4 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2756, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.2757, allocations: 8 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.2757, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.2757, allocations: 16.05 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2758, allocations: 8 kB / 1.023 GB, free: 5.324 MB / 0.795 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.257e-05/0.2758, allocations: 116.6 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2759, allocations: 19.86 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.2759, allocations: 3.969 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2759, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2759, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2759, allocations: 3.984 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.2763, allocations: 358.3 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2763, allocations: 0 / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.2763, allocations: 4 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2764, allocations: 3.938 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2764, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2764, allocations: 3.938 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2764, allocations: 3.938 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.2766, allocations: 179.5 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2767, allocations: 89 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2767, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.2768, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.2768, allocations: 11.92 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2768, allocations: 4.125 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.2769, allocations: 91.27 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2769, allocations: 4 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002297/0.2771, allocations: 8 kB / 1.024 GB, free: 4.332 MB / 0.795 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 9.696e-05/0.2772, allocations: 103.2 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2774, allocations: 47.91 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2774, allocations: 4 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.2775, allocations: 32.22 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2778, allocations: 12 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.2781, allocations: 147.8 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2784, allocations: 0.6846 MB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.2784, allocations: 3.984 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2785, allocations: 11.44 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2785, allocations: 4.281 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of Templates: time 0.00257/0.2811, allocations: 0.5762 MB / 1.025 GB, free: 2.66 MB / 0.795 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 -s gbode -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