Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008212/0.008212, allocations: 104 kB / 15.73 MB, free: 6.051 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.002241/0.002241, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 67.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8994, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002568/0.902, allocations: 1.467 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.9027, allocations: 444.8 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.9028, allocations: 4.719 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.9028, allocations: 5.156 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.9029, allocations: 14.05 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.9031, allocations: 26.78 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.9033, allocations: 46.61 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9034, allocations: 11 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.9035, allocations: 28.22 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.9036, allocations: 28.41 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.9036, allocations: 3.594 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.9036, allocations: 3.344 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.9036, allocations: 12.69 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.9037, allocations: 24.34 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.9038, allocations: 46.23 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9038, allocations: 3.938 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9038, allocations: 0 / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.9038, allocations: 1.094 kB / 1.09 GB, free: 4.082 MB / 0.8575 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.0004675/0.9043, allocations: 412.5 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9044, allocations: 9.406 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.9044, allocations: 4.672 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.9045, allocations: 172.8 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.9045, allocations: 2.406 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.9046, allocations: 6.281 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.9047, allocations: 63.48 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9048, allocations: 4.781 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.9048, allocations: 3.938 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9048, allocations: 5.453 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.9049, allocations: 31.56 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.9053, allocations: 275.2 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.9055, allocations: 41.22 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.9055, allocations: 33.86 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.9056, allocations: 1.125 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.9058, allocations: 65.27 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.9058, allocations: 0 / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003578/0.9061, allocations: 117.1 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.9062, allocations: 53.5 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.9063, allocations: 115.4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.9063, allocations: 27.55 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.9063, allocations: 86.66 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.9063, allocations: 22.78 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.9064, allocations: 21.28 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.9064, allocations: 322 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.9065, allocations: 18.05 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.9066, allocations: 48.78 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.9067, allocations: 71.14 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9067, allocations: 0.7031 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.9069, allocations: 97.17 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9069, allocations: 5.812 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.9069, allocations: 1.5 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.907, allocations: 6.516 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.907, allocations: 8.797 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9071, allocations: 6.344 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.9071, allocations: 5.078 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.9071, allocations: 3.094 kB / 1.092 GB, free: 2.129 MB / 0.8575 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 6.805e-05/0.9072, allocations: 118.6 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.9072, allocations: 2.766 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.9073, allocations: 14.06 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9073, allocations: 5.609 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9073, allocations: 0 / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9073, allocations: 0.8125 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.9076, allocations: 347.9 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9077, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.9077, allocations: 13.8 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9077, allocations: 0.7812 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.9077, allocations: 1.516 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9077, allocations: 4.875 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9077, allocations: 3.938 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.908, allocations: 177 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.908, allocations: 83.31 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.908, allocations: 1.312 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.9081, allocations: 10.02 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.9081, allocations: 16.38 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.9082, allocations: 2.016 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.9082, allocations: 89.98 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9082, allocations: 0 / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002319/0.9084, allocations: 8.562 kB / 1.093 GB, free: 1.309 MB / 0.8575 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.051e-05/0.9085, allocations: 98.52 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.9088, allocations: 61.27 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9088, allocations: 3.938 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.9089, allocations: 26.83 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.9091, allocations: 8.203 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.9095, allocations: 170.8 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.9097, allocations: 0.6882 MB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.9097, allocations: 3.812 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.9097, allocations: 10.47 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.9097, allocations: 0 / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of Templates: time 0.003009/0.9128, allocations: 0.5799 MB / 1.095 GB, free: 272 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches