Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001054/0.001054, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 59.77 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.25, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002716/0.2527, allocations: 1.503 MB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2539, allocations: 0.7245 MB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.2539, allocations: 8 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.2539, allocations: 3.938 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.254, allocations: 7.875 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.2545, allocations: 119.6 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2546, allocations: 67.78 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2547, allocations: 15.97 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.2548, allocations: 39.91 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.2549, allocations: 31.84 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2549, allocations: 4 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2551, allocations: 99.84 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.2551, allocations: 11.92 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.2552, allocations: 35.86 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.2554, allocations: 131.6 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2554, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2554, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2554, allocations: 4 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005946/0.256, allocations: 450.5 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2561, allocations: 8.031 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2561, allocations: 8.844 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2562, allocations: 180.2 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2562, allocations: 8.312 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.2563, allocations: 8.375 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2564, allocations: 69.95 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2565, allocations: 8 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2565, allocations: 0 / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2565, allocations: 0 / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2566, allocations: 35.97 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.257, allocations: 296.7 kB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2572, allocations: 58.55 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.2573, allocations: 32.97 kB / 0.955 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2573, allocations: 4 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2575, allocations: 75.44 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2575, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003771/0.2579, allocations: 141.5 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2579, allocations: 55.41 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.258, allocations: 121.8 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.258, allocations: 25.7 kB / 0.9554 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.2581, allocations: 92.14 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2581, allocations: 15.73 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.2581, allocations: 25.72 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.2582, allocations: 326.8 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.2583, allocations: 23.98 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.2584, allocations: 57.14 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2586, allocations: 97 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2586, allocations: 0 / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/0.2588, allocations: 113.4 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2588, allocations: 7.938 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2588, allocations: 8.156 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2588, allocations: 0 / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.2589, allocations: 15.98 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2589, allocations: 3.938 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.259, allocations: 7.906 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.259, allocations: 11.98 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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 7.956e-05/0.2591, allocations: 129.2 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.2591, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2592, allocations: 16.38 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2592, allocations: 0 / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2592, allocations: 0 / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2592, allocations: 3.938 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2596, allocations: 382.3 kB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2596, allocations: 0 / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.2597, allocations: 11.98 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2597, allocations: 48 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2597, allocations: 7.984 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2597, allocations: 4 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2597, allocations: 4.328 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.26, allocations: 207.5 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.26, allocations: 92.95 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2601, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.2602, allocations: 3.984 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2602, allocations: 11.94 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2602, allocations: 4 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.2603, allocations: 91.27 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2603, allocations: 0 / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002832/0.2606, allocations: 39.98 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002814/0.2608, allocations: 165.9 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2611, allocations: 63.91 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2611, allocations: 3.938 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2612, allocations: 39.91 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2614, allocations: 12 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.2618, allocations: 189.2 kB / 0.9575 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2621, allocations: 0.6942 MB / 0.9582 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.2621, allocations: 4 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.2621, allocations: 15.44 kB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of SimCode: time 1.91e-07/0.2621, allocations: 0 / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of Templates: time 0.003775/0.2659, allocations: 1.443 MB / 0.9597 GB, free: 14.85 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time