Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001443/0.001443, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001498/0.001498, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_12_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_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 74.75 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003118/0.3634, allocations: 1.501 MB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3646, allocations: 0.5143 MB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3646, allocations: 0 / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.3647, allocations: 7.922 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.3648, allocations: 7.875 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3651, allocations: 43.83 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3653, allocations: 51.84 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3654, allocations: 4 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3656, allocations: 35.84 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.3657, allocations: 19.92 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3657, allocations: 4 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.3657, allocations: 11.94 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3658, allocations: 11.98 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.3658, allocations: 23.86 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.366, allocations: 51.75 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.366, allocations: 0 / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.366, allocations: 4 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.366, allocations: 4 kB / 1.323 GB, free: 0.5156 MB / 1.014 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.000649/0.3666, allocations: 420.2 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3667, allocations: 11.98 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3669, allocations: 16.88 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3671, allocations: 172.3 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3672, allocations: 4.375 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3672, allocations: 12.38 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3674, allocations: 61.92 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3674, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3674, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3674, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3675, allocations: 31.97 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.368, allocations: 288.8 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3681, allocations: 42.44 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.3682, allocations: 24.94 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3682, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3684, allocations: 71.38 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3684, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.3688, allocations: 113.5 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3688, allocations: 55.41 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.369, allocations: 113.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.369, allocations: 25.7 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.369, allocations: 96.08 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.369, allocations: 7.953 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3691, allocations: 29.66 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3693, allocations: 318.8 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.3693, allocations: 19.98 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.3694, allocations: 44.28 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3696, allocations: 72.22 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3696, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002104/0.3698, allocations: 97.48 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3698, allocations: 6.188 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3698, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3698, allocations: 4 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.3699, allocations: 8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3699, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.37, allocations: 12.23 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.37, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 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.0001145/0.3701, allocations: 125.9 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.3701, allocations: 7.953 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.3702, allocations: 11.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3702, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3702, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3702, allocations: 3.984 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.3706, allocations: 342.4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3706, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.3707, allocations: 4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3707, allocations: 4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3707, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3707, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3707, allocations: 3.938 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.371, allocations: 191.4 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.371, allocations: 93.05 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.371, allocations: 0 / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.3711, allocations: 4 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3712, allocations: 7.922 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3712, allocations: 4 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.3712, allocations: 99.58 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3712, allocations: 0 / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002349/0.3715, allocations: 15.94 kB / 1.326 GB, free: 13.09 MB / 1.029 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.0001248/0.3716, allocations: 107.2 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3718, allocations: 47.91 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3718, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.3719, allocations: 27.97 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3722, allocations: 8 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.3726, allocations: 170.8 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.373, allocations: 0.6923 MB / 1.327 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3731, allocations: 0 / 1.327 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3731, allocations: 15.44 kB / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3731, allocations: 0 / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Templates: time 0.003453/0.3766, allocations: 0.5753 MB / 1.328 GB, free: 11.41 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.075857365969568]