Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008078/0.0008079, allocations: 92.16 kB / 16.02 MB, free: 80 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.00099/0.0009901, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 462.6 MB / 0.7371 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8.75 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001765/0.31, allocations: 1.19 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.3107, allocations: 442.8 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.3108, allocations: 0 / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.3108, allocations: 7.938 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.3109, allocations: 11.91 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3111, allocations: 19.98 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.3112, allocations: 47.8 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3113, allocations: 11.98 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.3114, allocations: 19.91 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.3115, allocations: 19.92 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3115, allocations: 4 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.3115, allocations: 4 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.3115, allocations: 11.92 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.3116, allocations: 49.56 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.057e-05/0.3117, allocations: 28.23 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3117, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3117, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.3117, allocations: 0 / 1.061 GB, free: 3.152 MB / 0.8106 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.0005021/0.3122, allocations: 412.5 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3123, allocations: 11.97 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.3123, allocations: 8.844 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3125, allocations: 164.4 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3125, allocations: 4.375 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3125, allocations: 8.312 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3127, allocations: 65.98 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3127, allocations: 4 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3127, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3127, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3129, allocations: 47.91 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.3133, allocations: 288.7 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3135, allocations: 42.56 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.3136, allocations: 28.94 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3136, allocations: 4 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3138, allocations: 87.31 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3138, allocations: 0 / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003803/0.3142, allocations: 125.5 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3142, allocations: 59.41 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3144, allocations: 109.8 kB / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.3144, allocations: 29.7 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.3144, allocations: 88.14 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3145, allocations: 15.83 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3145, allocations: 17.72 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3146, allocations: 318.8 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.3147, allocations: 19.98 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.3148, allocations: 56.27 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3149, allocations: 80.2 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.315, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.3152, allocations: 101.5 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3152, allocations: 5.719 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3152, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3153, allocations: 8.156 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.3153, allocations: 11.98 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3154, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.3154, allocations: 8 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3154, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 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.392e-05/0.3155, allocations: 125.7 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.3155, allocations: 7.906 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3156, allocations: 7.969 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3156, allocations: 7.938 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3156, allocations: 4 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3156, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.316, allocations: 346.5 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.316, allocations: 4 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3161, allocations: 8.359 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3161, allocations: 4 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3161, allocations: 3.938 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3161, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3161, allocations: 7.875 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3164, allocations: 203.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3164, allocations: 77.11 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3165, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.3165, allocations: 11.98 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3166, allocations: 3.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3166, allocations: 15.97 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.3167, allocations: 91.28 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3167, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002296/0.3169, allocations: 11.91 kB / 1.064 GB, free: 15.68 MB / 0.8262 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.0001173/0.317, allocations: 103.2 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3172, allocations: 60.03 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3174, allocations: 39.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3176, allocations: 3.984 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.318, allocations: 206.5 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3183, allocations: 0.6887 MB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.3183, allocations: 15.44 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3183, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002043/0.3204, allocations: 0.7478 MB / 1.066 GB, free: 13.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches