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.001492/0.001492, 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.002448/0.002448, allocations: 168.3 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.539/1.539, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 5.911e-06/5.911e-06, allocations: 4 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.635e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002842/0.002879, allocations: 1.486 MB / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.003873, allocations: 490.7 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.003932, allocations: 0 / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.003962, allocations: 3.938 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.004022, allocations: 11.88 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.004293, allocations: 43.83 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.004445, allocations: 51.78 kB / 0.9834 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.004545, allocations: 8 kB / 0.9834 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.004699, allocations: 43.83 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.004756, allocations: 15.92 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.004779, allocations: 4 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.004835, allocations: 11.98 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.004861, allocations: 11.92 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.004904, allocations: 15.98 kB / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.005055, allocations: 55.8 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005058, allocations: 4 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005059, allocations: 0 / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.005068, allocations: 0 / 0.9836 GB, free: 9.727 MB / 0.9356 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.00057/0.005638, allocations: 341.5 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.005676, allocations: 12.03 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.005819, allocations: 12.92 kB / 0.9839 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.00602, allocations: 117.7 kB / 0.984 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.006047, allocations: 8.312 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.00606, allocations: 384 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.006238, allocations: 62.23 kB / 0.9841 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006246, allocations: 192 / 0.9841 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.006261, allocations: 4.375 kB / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.006273, allocations: 3.938 kB / 0.9841 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.006409, allocations: 31.97 kB / 0.9842 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.006789, allocations: 216.6 kB / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.006923, allocations: 46.48 kB / 0.9844 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.007014, allocations: 32.88 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.007029, allocations: 0 / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.007184, allocations: 75.31 kB / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.007186, allocations: 0 / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0004058/0.007591, allocations: 109.6 kB / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.007641, allocations: 55.41 kB / 0.9847 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007764, allocations: 121.8 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.007789, allocations: 33.7 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.007849, allocations: 92.08 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.00787, allocations: 11.91 kB / 0.9849 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.007916, allocations: 21.7 kB / 0.9849 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.008093, allocations: 318.8 kB / 0.9852 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.008162, allocations: 15.98 kB / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.008255, allocations: 44.28 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.00842, allocations: 80.2 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008422, allocations: 0 / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002547/0.008677, allocations: 89.48 kB / 0.9855 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.008693, allocations: 4 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008698, allocations: 160 / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008716, allocations: 11.94 kB / 0.9855 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.008803, allocations: 11.98 kB / 0.9855 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008809, allocations: 3.938 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.008866, allocations: 11.95 kB / 0.9855 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.008877, allocations: 4 kB / 0.9855 GB, free: 7.547 MB / 0.9356 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.0001067/0.008984, allocations: 117.8 kB / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.008997, allocations: 3.938 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.009023, allocations: 8.125 kB / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.009025, allocations: 0 / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.009029, allocations: 4 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009032, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.009469, allocations: 298 kB / 0.9859 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00947, allocations: 0 / 0.9859 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.009511, allocations: 8 kB / 0.9859 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009512, allocations: 3.938 kB / 0.9859 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.009523, allocations: 4.297 kB / 0.9859 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.009524, allocations: 0 / 0.9859 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.009527, allocations: 4 kB / 0.9859 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.009815, allocations: 191.4 kB / 0.9861 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.009826, allocations: 7.953 kB / 0.9861 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009841, allocations: 0 / 0.9861 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.009926, allocations: 7.984 kB / 0.9861 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.009968, allocations: 7.938 kB / 0.9861 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.009975, allocations: 4 kB / 0.9861 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.01004, allocations: 91.27 kB / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01004, allocations: 0 / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002383/0.01028, allocations: 8 kB / 0.9862 GB, free: 6.734 MB / 0.9356 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.0001655/0.01044, allocations: 99.25 kB / 0.9863 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01066, allocations: 59.89 kB / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01066, allocations: 0 / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.01076, allocations: 23.98 kB / 0.9864 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01102, allocations: 11.05 kB / 0.9864 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01142, allocations: 165 kB / 0.9866 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.01149, allocations: 71.58 kB / 0.9866 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.01151, allocations: 4 kB / 0.9867 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.01155, allocations: 16.44 kB / 0.9867 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01155, allocations: 0 / 0.9867 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.003176/0.01473, allocations: 0.582 MB / 0.9872 GB, free: 5.676 MB / 0.9356 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: 8.216058928519487]