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.00112/0.00112, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001069/0.001069, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 14.98 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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 62.5 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002595/0.2955, allocations: 1.485 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2967, allocations: 0.7284 MB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.2967, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.2967, allocations: 7.875 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.2968, allocations: 11.88 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.2973, allocations: 119.6 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.2974, allocations: 71.72 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.2975, allocations: 15.98 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.2976, allocations: 35.84 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.2977, allocations: 35.84 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2977, allocations: 4 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.2979, allocations: 95.84 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.2979, allocations: 15.97 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.298, allocations: 39.8 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2982, allocations: 135.6 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2982, allocations: 0 / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2982, allocations: 0 / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.2982, allocations: 0 / 0.9538 GB, free: 5.25 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.0006419/0.2989, allocations: 442.6 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2989, allocations: 12.02 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2989, allocations: 8.844 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2991, allocations: 172.3 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2992, allocations: 8.375 kB / 0.9545 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2992, allocations: 8.375 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2994, allocations: 73.91 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2994, allocations: 0 / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2994, allocations: 0 / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2994, allocations: 7.984 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2995, allocations: 31.98 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.3, allocations: 304.7 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.3002, allocations: 50.5 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.3003, allocations: 36.97 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3003, allocations: 0 / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.3005, allocations: 83.36 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3005, allocations: 3.938 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003871/0.3009, allocations: 137.5 kB / 0.9552 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3009, allocations: 55.41 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.301, allocations: 117.8 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.301, allocations: 29.7 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.3011, allocations: 92.2 kB / 0.9554 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.3011, allocations: 19.75 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.3012, allocations: 29.7 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3013, allocations: 326.8 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3014, allocations: 19.98 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.3015, allocations: 57.14 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3016, allocations: 93.06 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.3016, allocations: 0 / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/0.3019, allocations: 121.4 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3019, allocations: 7.938 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3019, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3019, allocations: 4 kB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.302, allocations: 11.98 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.302, allocations: 4 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.3021, allocations: 7.906 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3021, allocations: 8.156 kB / 0.9561 GB, free: 2.641 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 9.656e-05/0.3022, allocations: 133.6 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3022, allocations: 4 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3023, allocations: 12.38 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3023, allocations: 0 / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3023, allocations: 0 / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3023, allocations: 3.938 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.3027, allocations: 382.7 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3027, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.3028, allocations: 11.92 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3028, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3028, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3028, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3028, allocations: 3.984 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.3031, allocations: 215.5 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.3032, allocations: 85.02 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3032, allocations: 4 kB / 0.9569 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.3033, allocations: 4 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3033, allocations: 11.92 kB / 0.9569 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3034, allocations: 0 / 0.9569 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.3034, allocations: 99.27 kB / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 0 / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003054/0.3037, allocations: 35.98 kB / 0.9571 GB, free: 1.551 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.0003565/0.3041, allocations: 169.7 kB / 0.9572 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3043, allocations: 63.91 kB / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3044, allocations: 0 / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.3045, allocations: 36.28 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3047, allocations: 13.03 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.3052, allocations: 204.8 kB / 0.9575 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3055, allocations: 0.6883 MB / 0.9582 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.3056, allocations: 7.984 kB / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3056, allocations: 11.44 kB / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3056, allocations: 0 / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of Templates: time 0.00421/0.3098, allocations: 1.43 MB / 0.9596 GB, free: 14.89 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 cvode -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