Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.001654/0.001654, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001844/0.001844, allocations: 162.7 kB / 22.46 MB, free: 5.375 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.494/1.494, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.895/2.895, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.527e-05, allocations: 5.938 kB / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002853/0.002889, allocations: 1.488 MB / 1.002 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.003881, allocations: 490.7 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.003944, allocations: 0 / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.003971, allocations: 7.875 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.004037, allocations: 19.84 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.004299, allocations: 39.84 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004447, allocations: 47.8 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.004543, allocations: 15.97 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.004698, allocations: 27.97 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.004755, allocations: 23.91 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.004776, allocations: 4 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.004818, allocations: 8 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.004838, allocations: 7.938 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.00488, allocations: 15.98 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.005025, allocations: 59.73 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005027, allocations: 0 / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005028, allocations: 4 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005032, allocations: 0 / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005794/0.005612, allocations: 337.5 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005648, allocations: 8.031 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.005798, allocations: 16.88 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.006012, allocations: 125.7 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.006034, allocations: 4.375 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.006044, allocations: 384 / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.006232, allocations: 62.23 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006242, allocations: 4.172 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.006253, allocations: 384 / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.006267, allocations: 11.88 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.006401, allocations: 31.91 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.006793, allocations: 220.6 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.006921, allocations: 38.56 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.00701, allocations: 28.94 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.007033, allocations: 0 / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.007212, allocations: 79.25 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.007213, allocations: 0 / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.000417/0.00763, allocations: 109.6 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.007697, allocations: 59.41 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.007822, allocations: 113.8 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.007849, allocations: 33.7 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.007944, allocations: 92.08 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.007967, allocations: 11.89 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.008018, allocations: 21.72 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.008222, allocations: 318.8 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.008296, allocations: 19.98 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.008406, allocations: 48.22 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.008573, allocations: 72.22 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008576, allocations: 4 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002154/0.008791, allocations: 89.5 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.008812, allocations: 7.984 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008817, allocations: 0 / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.008839, allocations: 12.09 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.008931, allocations: 4 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.00894, allocations: 4 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.009002, allocations: 11.98 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.009011, allocations: 0 / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.0001234/0.009134, allocations: 118.4 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.009151, allocations: 7.891 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.009184, allocations: 8.125 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.009186, allocations: 0 / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.009192, allocations: 0 / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.009197, allocations: 4 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.009666, allocations: 294 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009667, allocations: 4 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.009718, allocations: 3.984 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.009722, allocations: 7.984 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.009734, allocations: 3.938 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009736, allocations: 320 / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009736, allocations: 0 / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.01005, allocations: 203.3 kB / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.01006, allocations: 0 / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01008, allocations: 4 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.01017, allocations: 11.92 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.01022, allocations: 4 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.01023, allocations: 3.984 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.0103, allocations: 91.28 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.0103, allocations: 0 / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002424/0.01055, allocations: 8 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001632/0.01071, allocations: 107.2 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.01095, allocations: 51.91 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01096, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01106, allocations: 27.92 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.01137, allocations: 7.922 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.0119, allocations: 157 kB / 1.005 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.012, allocations: 67.34 kB / 1.005 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.01203, allocations: 7.984 kB / 1.005 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.01208, allocations: 12.5 kB / 1.005 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.01208, allocations: 0 / 1.005 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of Templates: time 0.003719/0.0158, allocations: 0.5763 MB / 1.006 GB, free: 1.023 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.05743333697319]