Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001321/0.001321, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001438/0.001438, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9154/0.9154, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] 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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.039e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003038/0.003068, allocations: 1.583 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004519, allocations: 0.8315 MB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.00459, allocations: 0 / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.004625, allocations: 8.438 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.004733, allocations: 24.47 kB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.005416, allocations: 160.2 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.005566, allocations: 104.3 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.005658, allocations: 15.98 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.005845, allocations: 61.53 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.005931, allocations: 43.88 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.005956, allocations: 8 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.006231, allocations: 139.7 kB / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.006264, allocations: 25.5 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.006309, allocations: 31.91 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.006595, allocations: 175.4 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.006597, allocations: 0 / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006598, allocations: 3.531 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.006601, allocations: 0 / 0.7906 GB, free: 9.023 MB / 0.7448 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.0006192/0.00722, allocations: 0.5283 MB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.007265, allocations: 12.02 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.007503, allocations: 32.88 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.007655, allocations: 144.9 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.007674, allocations: 8.375 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.007687, allocations: 5.094 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.007823, allocations: 75.47 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007832, allocations: 3.938 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.007841, allocations: 1.125 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.00785, allocations: 7.984 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.007906, allocations: 23.91 kB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.008274, allocations: 290.1 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.008398, allocations: 67.17 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.008434, allocations: 20.77 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.008456, allocations: 7.938 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.008574, allocations: 89.02 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.008576, allocations: 0.9375 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000263/0.008839, allocations: 129.8 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.008875, allocations: 56.31 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.008996, allocations: 203.3 kB / 0.7923 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.009015, allocations: 30.73 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.009079, allocations: 146.8 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.009112, allocations: 23.78 kB / 0.7925 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.009166, allocations: 40.69 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.009315, allocations: 0.4923 MB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.009343, allocations: 11.98 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.009406, allocations: 66.09 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.009516, allocations: 103.4 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009518, allocations: 0.625 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001674/0.009685, allocations: 114 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.009699, allocations: 4.562 kB / 0.7933 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.009705, allocations: 4.719 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.009719, allocations: 0 / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.009807, allocations: 21.2 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.009811, allocations: 0 / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.009876, allocations: 19.88 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.009887, allocations: 12.78 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$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 8.7e-05/0.009974, allocations: 169.2 kB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.009999, allocations: 15.94 kB / 0.7935 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01023, allocations: 134.3 kB / 0.7937 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01023, allocations: 3.938 kB / 0.7937 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.01023, allocations: 0 / 0.7937 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01024, allocations: 8.609 kB / 0.7937 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.01063, allocations: 382.6 kB / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01063, allocations: 0 / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.01068, allocations: 20.7 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01068, allocations: 0 / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.0107, allocations: 4.969 kB / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.0107, allocations: 0 / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.0107, allocations: 1.188 kB / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.01091, allocations: 267.8 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01093, allocations: 19.83 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01095, allocations: 4 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.01103, allocations: 8.844 kB / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.01108, allocations: 11.97 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01109, allocations: 2.219 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.01115, allocations: 157.3 kB / 0.7945 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01115, allocations: 0 / 0.7945 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002825/0.01143, allocations: 43.88 kB / 0.7945 GB, free: 4.727 MB / 0.7448 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003167/0.01175, allocations: 185.6 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01189, allocations: 63.56 kB / 0.7948 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01189, allocations: 0 / 0.7948 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.01197, allocations: 48.72 kB / 0.7948 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.01227, allocations: 25.3 kB / 0.7949 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.01283, allocations: 233.6 kB / 0.7951 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01288, allocations: 67.28 kB / 0.7951 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.261e-05/0.01293, allocations: 18.94 kB / 0.7952 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.01302, allocations: 90.19 kB / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01303, allocations: 0 / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.005025/0.01805, allocations: 2.337 MB / 0.7975 GB, free: 1.672 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.796464754734188]