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.0009103/0.0009103, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006437/0.006437, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.546/1.546, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.878/2.878, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003423, allocations: 15.98 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7907, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001848/0.7926, allocations: 1.184 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.7933, allocations: 447 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.7934, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.7934, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.7935, allocations: 7.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.7937, allocations: 27.91 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.7938, allocations: 51.78 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.7939, allocations: 8 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.794, allocations: 15.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.7941, allocations: 19.86 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.7941, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.7941, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.7941, allocations: 11.98 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.7942, allocations: 49.56 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.7943, allocations: 45.78 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7943, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7943, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7943, allocations: 0 / 1.025 GB, free: 13.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005372/0.7949, allocations: 398.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7949, allocations: 12.03 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.795, allocations: 16.83 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.7951, allocations: 172.3 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.7952, allocations: 4.375 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.7952, allocations: 384 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.7954, allocations: 69.98 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7954, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.7954, allocations: 3.938 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7954, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.7956, allocations: 43.97 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.796, allocations: 288.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.7962, allocations: 46.56 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.7963, allocations: 36.92 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.7963, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.7965, allocations: 75.39 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.7965, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0004029/0.7969, allocations: 125.6 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.797, allocations: 51.41 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7971, allocations: 117.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7971, allocations: 29.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.7972, allocations: 88.12 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.7972, allocations: 15.84 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.7972, allocations: 9.719 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7974, allocations: 330.8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.7975, allocations: 19.98 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.7976, allocations: 52.22 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.7977, allocations: 76.22 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7977, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002058/0.798, allocations: 101.5 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.798, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.798, allocations: 3.938 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.798, allocations: 4 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.7981, allocations: 11.94 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7981, allocations: 4.156 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.7982, allocations: 11.98 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7982, allocations: 4.25 kB / 1.027 GB, free: 11.51 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.0001013/0.7983, allocations: 118.2 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.7983, allocations: 7.906 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.7983, allocations: 7.953 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7984, allocations: 7.938 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7984, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7984, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.7988, allocations: 358.4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7988, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.7989, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7989, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7989, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7989, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7989, allocations: 3.938 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.7992, allocations: 199.4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.7993, allocations: 85.09 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7993, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.7994, allocations: 8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.7995, allocations: 7.922 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.7995, allocations: 4 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.7996, allocations: 91.27 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7996, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002376/0.7998, allocations: 16 kB / 1.028 GB, free: 10.49 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.0001253/0.7999, allocations: 95.78 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.8002, allocations: 59.91 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8002, allocations: 320 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.8003, allocations: 43.91 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.8006, allocations: 6.469 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.8011, allocations: 192.3 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.8016, allocations: 0.6848 MB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.8016, allocations: 4 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.8016, allocations: 7.438 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.8016, allocations: 0 / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of Templates: time 0.003724/0.8054, allocations: 0.5008 MB / 1.029 GB, free: 8.859 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=400 -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