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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 202.1 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.908/2.908, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.003232/0.003232, allocations: 71.86 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8143, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002908/0.8172, allocations: 1.523 MB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.8188, allocations: 0.7689 MB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.8188, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.8188, allocations: 7.922 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.8189, allocations: 11.88 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.8195, allocations: 131.5 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.8196, allocations: 91.77 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.8197, allocations: 15.97 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.8198, allocations: 39.8 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.8199, allocations: 47.81 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.8199, allocations: 8 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.8201, allocations: 107.8 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.8202, allocations: 19.98 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.8202, allocations: 43.78 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.8205, allocations: 150.2 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8205, allocations: 4 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8205, allocations: 0 / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8205, allocations: 3.938 kB / 1.277 GB, free: 1.559 MB / 0.9669 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.0007244/0.8212, allocations: 458.4 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.8213, allocations: 8.031 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.8213, allocations: 12.84 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.8215, allocations: 180.3 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.8215, allocations: 12.31 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.8215, allocations: 4.375 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.8218, allocations: 93.94 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8218, allocations: 0 / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8218, allocations: 0 / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8218, allocations: 0 / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.822, allocations: 43.97 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.8226, allocations: 332.6 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.8228, allocations: 58.55 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.8229, allocations: 36.83 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.8229, allocations: 7.984 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.8232, allocations: 99.33 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.8232, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005966/0.8238, allocations: 189.7 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8238, allocations: 55.41 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.8239, allocations: 126.3 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.824, allocations: 33.7 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.824, allocations: 92.38 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.8241, allocations: 23.84 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.8241, allocations: 29.72 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.8243, allocations: 322.8 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.8244, allocations: 23.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.8245, allocations: 85.92 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.8247, allocations: 109.8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8247, allocations: 7.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002821/0.825, allocations: 133.5 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.825, allocations: 5.562 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.825, allocations: 4 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.825, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8251, allocations: 19.92 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8251, allocations: 4 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.8252, allocations: 16.11 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.8252, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 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.0001098/0.8253, allocations: 131.1 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.8254, allocations: 11.94 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.8254, allocations: 8.375 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8254, allocations: 4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8254, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8254, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.826, allocations: 434.6 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.826, allocations: 96 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.8261, allocations: 11.92 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.8261, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.8261, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8261, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8261, allocations: 3.938 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.8265, allocations: 255.4 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.8265, allocations: 81.06 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.8266, allocations: 7.984 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.8267, allocations: 4 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.8267, allocations: 11.92 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.8267, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.8268, allocations: 96.52 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8268, allocations: 4 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003162/0.8271, allocations: 43.92 kB / 1.28 GB, free: 13.5 MB / 0.9825 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.0003544/0.8275, allocations: 167.5 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.8277, allocations: 95.95 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8277, allocations: 0 / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.8279, allocations: 43.91 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.8281, allocations: 12 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.8287, allocations: 219.5 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.829, allocations: 0.6887 MB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.829, allocations: 11.92 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.829, allocations: 11.44 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.829, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.005188/0.8342, allocations: 1.736 MB / 1.283 GB, free: 10.49 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.034598202910274]