Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.757/2.757, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.512e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003963/0.003998, allocations: 1.494 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.006026, allocations: 0.7678 MB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.006135, allocations: 0 / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.00618, allocations: 11.88 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.00627, allocations: 3.938 kB / 0.9532 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.007157, allocations: 151.3 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.007329, allocations: 71.7 kB / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.007444, allocations: 12.12 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.007648, allocations: 51.88 kB / 0.9534 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.007734, allocations: 27.95 kB / 0.9535 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.00776, allocations: 4 kB / 0.9535 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.008107, allocations: 131.7 kB / 0.9536 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.008143, allocations: 23.91 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.008192, allocations: 15.98 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.008591, allocations: 167.5 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.008595, allocations: 0 / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.008597, allocations: 4 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.008604, allocations: 0 / 0.9538 GB, free: 8.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008185/0.009422, allocations: 375.7 kB / 0.9541 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.00947, allocations: 12.03 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.009779, allocations: 24.86 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01011, allocations: 133.6 kB / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01014, allocations: 4.375 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.01016, allocations: 4.375 kB / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.0104, allocations: 70.22 kB / 0.9544 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01042, allocations: 4.172 kB / 0.9544 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.01044, allocations: 4.125 kB / 0.9544 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01045, allocations: 4 kB / 0.9544 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.0106, allocations: 35.97 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.01114, allocations: 228.5 kB / 0.9547 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.01131, allocations: 46.55 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01142, allocations: 32.97 kB / 0.9547 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.01145, allocations: 3.938 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.01164, allocations: 83.31 kB / 0.9548 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.01164, allocations: 0 / 0.9548 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.01212, allocations: 145.6 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.01217, allocations: 55.39 kB / 0.955 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.01231, allocations: 134 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01233, allocations: 25.7 kB / 0.9552 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.0124, allocations: 96.12 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.01243, allocations: 15.84 kB / 0.9553 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01248, allocations: 33.64 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.01265, allocations: 318.8 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.01274, allocations: 19.98 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01285, allocations: 65.12 kB / 0.9557 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.01306, allocations: 93.02 kB / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01306, allocations: 0 / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002644/0.01332, allocations: 117.4 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01334, allocations: 7.984 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01335, allocations: 0 / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01337, allocations: 4 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.01346, allocations: 12.16 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.01347, allocations: 4 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.01354, allocations: 11.92 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01355, allocations: 4 kB / 0.9559 GB, free: 6.273 MB / 0.8575 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 0.00013/0.01368, allocations: 117.8 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01371, allocations: 11.89 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.01374, allocations: 8.438 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01374, allocations: 3.984 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.01375, allocations: 0 / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01375, allocations: 4 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.01428, allocations: 326 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.01428, allocations: 4 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.01432, allocations: 4 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01432, allocations: 0 / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.01435, allocations: 11.98 kB / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01435, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01435, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.01471, allocations: 211.3 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.01474, allocations: 19.88 kB / 0.9566 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01476, allocations: 3.938 kB / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.01485, allocations: 4 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.01491, allocations: 7.984 kB / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01492, allocations: 4 kB / 0.9566 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.01499, allocations: 94.27 kB / 0.9567 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01499, allocations: 3.938 kB / 0.9567 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003443/0.01533, allocations: 43.92 kB / 0.9568 GB, free: 5.348 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: 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.0004946/0.01583, allocations: 163.8 kB / 0.9569 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.01608, allocations: 67.89 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01608, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01619, allocations: 39.91 kB / 0.957 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.01649, allocations: 15.06 kB / 0.957 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.01698, allocations: 177.5 kB / 0.9572 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.01707, allocations: 75.33 kB / 0.9573 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.01711, allocations: 4 kB / 0.9573 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.01714, allocations: 8.5 kB / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.01714, allocations: 0 / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.0054/0.02254, allocations: 1.502 MB / 0.9588 GB, free: 3.289 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.988335311412811]