Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001856/0.001856, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001937/0.001937, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.933/2.933, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.453e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003088/0.003122, allocations: 1.53 MB / 0.7878 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.004911, allocations: 0.824 MB / 0.7886 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.004972, allocations: 4 kB / 0.7886 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.005006, allocations: 4.938 kB / 0.7887 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.005118, allocations: 20.36 kB / 0.7887 GB, free: 9.375 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.005771, allocations: 152.1 kB / 0.7888 GB, free: 9.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.00594, allocations: 87.64 kB / 0.7889 GB, free: 9.141 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.006037, allocations: 12.88 kB / 0.7889 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.006231, allocations: 67.75 kB / 0.789 GB, free: 9.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.006309, allocations: 32.61 kB / 0.789 GB, free: 9.031 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.006338, allocations: 8.719 kB / 0.789 GB, free: 9.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.006649, allocations: 135.7 kB / 0.7891 GB, free: 8.891 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.006684, allocations: 25.56 kB / 0.7892 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.006741, allocations: 23.86 kB / 0.7892 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.007101, allocations: 183.4 kB / 0.7894 GB, free: 8.664 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.007108, allocations: 4 kB / 0.7894 GB, free: 8.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/0.00711, allocations: 0 / 0.7894 GB, free: 8.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.007116, allocations: 1.344 kB / 0.7894 GB, free: 8.66 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000976/0.008092, allocations: 495.1 kB / 0.7898 GB, free: 8.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.008133, allocations: 9.625 kB / 0.7899 GB, free: 8.121 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.008458, allocations: 32.83 kB / 0.7899 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.008696, allocations: 141.5 kB / 0.79 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.008713, allocations: 7.875 kB / 0.79 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.008738, allocations: 4.375 kB / 0.79 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.008935, allocations: 70.16 kB / 0.7901 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.008946, allocations: 192 / 0.7901 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.008963, allocations: 12.36 kB / 0.7901 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.008972, allocations: 7.922 kB / 0.7901 GB, free: 7.824 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.009108, allocations: 35.92 kB / 0.7902 GB, free: 7.789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.009711, allocations: 308.3 kB / 0.7904 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.009896, allocations: 71.77 kB / 0.7905 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.009978, allocations: 27.67 kB / 0.7905 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.01001, allocations: 4.5 kB / 0.7905 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.01021, allocations: 101.6 kB / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.01021, allocations: 1 kB / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000459/0.01067, allocations: 157.5 kB / 0.7908 GB, free: 7.062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.01073, allocations: 59.88 kB / 0.7908 GB, free: 6.992 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01091, allocations: 197.1 kB / 0.791 GB, free: 6.785 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01094, allocations: 35.08 kB / 0.7911 GB, free: 6.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01104, allocations: 143.1 kB / 0.7912 GB, free: 6.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.01107, allocations: 27.94 kB / 0.7912 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.01115, allocations: 40.55 kB / 0.7913 GB, free: 6.523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.01142, allocations: 0.4962 MB / 0.7918 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.01149, allocations: 23.98 kB / 0.7918 GB, free: 5.992 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01163, allocations: 86.62 kB / 0.7919 GB, free: 5.883 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.01185, allocations: 115.8 kB / 0.792 GB, free: 5.746 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01185, allocations: 0 / 0.792 GB, free: 5.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002823/0.01214, allocations: 140.6 kB / 0.7921 GB, free: 5.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01215, allocations: 8 kB / 0.7921 GB, free: 5.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01216, allocations: 4 kB / 0.7921 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01218, allocations: 4 kB / 0.7921 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01231, allocations: 19.98 kB / 0.7921 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.01232, allocations: 11.97 kB / 0.7922 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.01241, allocations: 7 kB / 0.7922 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01243, allocations: 7.938 kB / 0.7922 GB, free: 5.547 MB / 0.698 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001576/0.01258, allocations: 174.8 kB / 0.7923 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.01262, allocations: 15.88 kB / 0.7923 GB, free: 5.352 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.01297, allocations: 146 kB / 0.7925 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01297, allocations: 0 / 0.7925 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01298, allocations: 5.375 kB / 0.7925 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01298, allocations: 3.984 kB / 0.7925 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.01361, allocations: 425.1 kB / 0.7929 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01362, allocations: 4.609 kB / 0.7929 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.01369, allocations: 12.44 kB / 0.7929 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01369, allocations: 0.5625 kB / 0.7929 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.0137, allocations: 96 / 0.7929 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0137, allocations: 0.8438 kB / 0.7929 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01371, allocations: 3.984 kB / 0.7929 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.01408, allocations: 284.9 kB / 0.7932 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.0141, allocations: 15.84 kB / 0.7932 GB, free: 4.406 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01413, allocations: 8 kB / 0.7932 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.01423, allocations: 4.953 kB / 0.7932 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.0143, allocations: 15.98 kB / 0.7932 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01431, allocations: 1.625 kB / 0.7932 GB, free: 4.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001095/0.01442, allocations: 147.2 kB / 0.7934 GB, free: 4.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01442, allocations: 0 / 0.7934 GB, free: 4.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003328/0.01475, allocations: 47.86 kB / 0.7934 GB, free: 4.188 MB / 0.698 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0005265/0.01528, allocations: 166.3 kB / 0.7936 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.01556, allocations: 88.42 kB / 0.7937 GB, free: 3.945 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.01557, allocations: 4 kB / 0.7937 GB, free: 3.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.01569, allocations: 53.02 kB / 0.7937 GB, free: 3.887 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01601, allocations: 27.86 kB / 0.7937 GB, free: 3.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.01656, allocations: 209.7 kB / 0.7939 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.01665, allocations: 79.33 kB / 0.794 GB, free: 3.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.0167, allocations: 12.47 kB / 0.794 GB, free: 3.523 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.01675, allocations: 16.5 kB / 0.7941 GB, free: 3.508 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/0.01675, allocations: 0 / 0.7941 GB, free: 3.508 MB / 0.698 GB Notification: Performance of Templates: time 0.006177/0.02293, allocations: 1.887 MB / 0.7959 GB, free: 1.664 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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: 7.9932958309073]