Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 189.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 443.5 MB / 0.731 GB, free: 12.75 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 1.06 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8095, allocations: 160.7 MB / 1.217 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003146/0.8126, allocations: 1.54 MB / 1.218 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.8141, allocations: 0.7515 MB / 1.219 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.8142, allocations: 1.375 kB / 1.219 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.8142, allocations: 7.875 kB / 1.219 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.8143, allocations: 22.39 kB / 1.219 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.8149, allocations: 136.1 kB / 1.219 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.8151, allocations: 94.8 kB / 1.219 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.8152, allocations: 4.781 kB / 1.219 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.8153, allocations: 52.33 kB / 1.219 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.8154, allocations: 45.83 kB / 1.219 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.8154, allocations: 7.812 kB / 1.219 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.8156, allocations: 102 kB / 1.219 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.8157, allocations: 35.48 kB / 1.219 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.8157, allocations: 38.02 kB / 1.219 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.816, allocations: 166.9 kB / 1.219 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.816, allocations: 0 / 1.219 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.816, allocations: 0 / 1.219 GB, free: 1.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.816, allocations: 1.156 kB / 1.219 GB, free: 1.961 MB / 0.92 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.0008347/0.8169, allocations: 0.4975 MB / 1.22 GB, free: 1.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.8169, allocations: 13.56 kB / 1.22 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.817, allocations: 9.984 kB / 1.22 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.8171, allocations: 173.3 kB / 1.22 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.8171, allocations: 7 kB / 1.22 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.8172, allocations: 4.469 kB / 1.22 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.8174, allocations: 84.95 kB / 1.22 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.8174, allocations: 0 / 1.22 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.8174, allocations: 9.359 kB / 1.22 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8174, allocations: 0 / 1.22 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8176, allocations: 50.94 kB / 1.22 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.8182, allocations: 333.1 kB / 1.221 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.8184, allocations: 70.73 kB / 1.221 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.8185, allocations: 45.47 kB / 1.221 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.8185, allocations: 5.156 kB / 1.221 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.8187, allocations: 102 kB / 1.221 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.8188, allocations: 1.125 kB / 1.221 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004458/0.8192, allocations: 174.9 kB / 1.221 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8192, allocations: 54.38 kB / 1.221 GB, free: 468 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.8194, allocations: 130.9 kB / 1.221 GB, free: 344 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.8194, allocations: 30.98 kB / 1.221 GB, free: 308 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.8195, allocations: 103.5 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.8195, allocations: 23.33 kB / 1.221 GB, free: 184 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.8196, allocations: 32.39 kB / 1.221 GB, free: 156 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8197, allocations: 325 kB / 1.222 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.8198, allocations: 28.08 kB / 1.222 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.82, allocations: 81.47 kB / 1.222 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.8202, allocations: 107.7 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8202, allocations: 1.062 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002828/0.8205, allocations: 143.2 kB / 1.222 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8205, allocations: 9.781 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8205, allocations: 2.031 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8205, allocations: 2.125 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.8206, allocations: 19.33 kB / 1.222 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8206, allocations: 2.969 kB / 1.222 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.8207, allocations: 18.42 kB / 1.222 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.8207, allocations: 4.625 kB / 1.222 GB, free: 15.54 MB / 0.9356 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 0.0001164/0.8209, allocations: 132.2 kB / 1.222 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.8209, allocations: 7.734 kB / 1.222 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.8213, allocations: 156.2 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.8213, allocations: 5 kB / 1.222 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8213, allocations: 5.219 kB / 1.222 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8213, allocations: 3.984 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.8219, allocations: 458.8 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8219, allocations: 1.094 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.822, allocations: 12.55 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.822, allocations: 1.031 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.822, allocations: 5.156 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.822, allocations: 4.875 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.822, allocations: 1.094 kB / 1.223 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.8224, allocations: 248.7 kB / 1.223 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.8225, allocations: 83.31 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.8225, allocations: 9.078 kB / 1.223 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.8226, allocations: 5.5 kB / 1.223 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.8227, allocations: 13.66 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.8227, allocations: 7.266 kB / 1.223 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.8228, allocations: 100.5 kB / 1.223 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8228, allocations: 0 / 1.223 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003394/0.8231, allocations: 48.61 kB / 1.223 GB, free: 14.47 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: 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 (13): * Single equations (assignments): 10 * 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.0004158/0.8235, allocations: 172 kB / 1.223 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.8238, allocations: 93.14 kB / 1.224 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8238, allocations: 192 / 1.224 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8239, allocations: 48.36 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.8242, allocations: 15.27 kB / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.8248, allocations: 255 kB / 1.224 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.8251, allocations: 0.702 MB / 1.225 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.8252, allocations: 13.97 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.8252, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004672/0.8298, allocations: 1.935 MB / 1.226 GB, free: 12.35 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches