Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001504/0.001504, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001879/0.001879, allocations: 167.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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.748/2.748, 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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.828e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002996/0.003025, allocations: 1.516 MB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004729, allocations: 0.7796 MB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.004804, allocations: 7.938 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.004834, allocations: 3.938 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.004909, allocations: 19.8 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.005609, allocations: 151.3 kB / 0.9534 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.005775, allocations: 95.7 kB / 0.9534 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.005864, allocations: 11.98 kB / 0.9535 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.006051, allocations: 67.8 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.00613, allocations: 27.97 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.006158, allocations: 8 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.00647, allocations: 143.7 kB / 0.9537 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.006506, allocations: 27.89 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.00657, allocations: 31.91 kB / 0.9537 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.006894, allocations: 179.5 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006897, allocations: 0 / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006898, allocations: 0 / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006903, allocations: 0 / 0.9539 GB, free: 8.508 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007446/0.007647, allocations: 389.2 kB / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.007698, allocations: 8.031 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.008035, allocations: 32.88 kB / 0.9543 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.008297, allocations: 137.5 kB / 0.9545 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.008327, allocations: 8.375 kB / 0.9545 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.008347, allocations: 4.375 kB / 0.9545 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.008597, allocations: 90.19 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008608, allocations: 4.125 kB / 0.9546 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.008622, allocations: 4.312 kB / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.008629, allocations: 3.938 kB / 0.9546 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.008802, allocations: 47.97 kB / 0.9546 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.009339, allocations: 256.4 kB / 0.9549 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.009519, allocations: 58.55 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.00963, allocations: 32.84 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.009652, allocations: 0 / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.009866, allocations: 99.33 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.009867, allocations: 4 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005356/0.0104, allocations: 193.5 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.01046, allocations: 59.39 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.01059, allocations: 139.2 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01062, allocations: 29.7 kB / 0.9555 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.01068, allocations: 92.38 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.01071, allocations: 15.86 kB / 0.9556 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01077, allocations: 33.7 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01092, allocations: 322.8 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.011, allocations: 27.98 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01112, allocations: 73.98 kB / 0.956 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.01135, allocations: 113.9 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01135, allocations: 0 / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003087/0.01166, allocations: 137.4 kB / 0.9562 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.01168, allocations: 10.33 kB / 0.9562 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.01169, allocations: 4.094 kB / 0.9562 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.0117, allocations: 3.984 kB / 0.9562 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.0118, allocations: 15.94 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.01182, allocations: 8.359 kB / 0.9563 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.01189, allocations: 15.89 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01191, allocations: 8 kB / 0.9563 GB, free: 5.848 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001168/0.01203, allocations: 125.9 kB / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.01206, allocations: 15.83 kB / 0.9564 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.01209, allocations: 16.42 kB / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01209, allocations: 0 / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0121, allocations: 0 / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.0121, allocations: 0 / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.01268, allocations: 378.1 kB / 0.9568 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01268, allocations: 3.938 kB / 0.9568 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.01272, allocations: 7.984 kB / 0.9568 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01273, allocations: 4 kB / 0.9568 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.01274, allocations: 4 kB / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.01275, allocations: 7.984 kB / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01275, allocations: 0 / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.01316, allocations: 251.3 kB / 0.9571 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.01318, allocations: 7.938 kB / 0.9571 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.01321, allocations: 8 kB / 0.9571 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.01331, allocations: 0 / 0.9571 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.01334, allocations: 7.984 kB / 0.9571 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.01336, allocations: 11.98 kB / 0.9571 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.01343, allocations: 101.8 kB / 0.9572 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01343, allocations: 0 / 0.9572 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003366/0.01377, allocations: 39.94 kB / 0.9572 GB, free: 4.816 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004103/0.01418, allocations: 182.1 kB / 0.9574 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.01447, allocations: 91.88 kB / 0.9575 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01447, allocations: 0 / 0.9575 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.0146, allocations: 43.92 kB / 0.9575 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.01494, allocations: 19.92 kB / 0.9576 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.01554, allocations: 181.5 kB / 0.9577 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01564, allocations: 79.64 kB / 0.9578 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.97e-05/0.01569, allocations: 12.7 kB / 0.9578 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.01573, allocations: 16.5 kB / 0.9578 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.01573, allocations: 3.938 kB / 0.9578 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.007138/0.02287, allocations: 1.753 MB / 0.9596 GB, free: 2.438 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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: 8.152905531227589]