Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001243/0.001243, allocations: 106.2 kB / 18.19 MB, free: 3.879 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.001252/0.001252, allocations: 188.4 kB / 21.34 MB, free: 0.7383 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.412/1.412, allocations: 225.6 MB / 249.9 MB, free: 13.45 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.522/2.522, 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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=575,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 67.88 kB / 1.06 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7876, allocations: 160.7 MB / 1.217 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002933/0.7905, allocations: 1.519 MB / 1.218 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.7919, allocations: 0.7584 MB / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.792, allocations: 5.156 kB / 1.219 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.792, allocations: 3.938 kB / 1.219 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.7921, allocations: 22.11 kB / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.7927, allocations: 130.5 kB / 1.219 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.7928, allocations: 78.48 kB / 1.219 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.7929, allocations: 7.516 kB / 1.219 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.793, allocations: 51.09 kB / 1.219 GB, free: 2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.7931, allocations: 39.36 kB / 1.219 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.7931, allocations: 7.875 kB / 1.219 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.7934, allocations: 103.7 kB / 1.219 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.7934, allocations: 15.11 kB / 1.219 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.7934, allocations: 36.64 kB / 1.219 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.7937, allocations: 155.7 kB / 1.219 GB, free: 1.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7937, allocations: 0 / 1.219 GB, free: 1.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7937, allocations: 1.219 kB / 1.219 GB, free: 1.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7938, allocations: 0 / 1.219 GB, free: 1.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008741/0.7946, allocations: 472.5 kB / 1.22 GB, free: 1.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7947, allocations: 13.88 kB / 1.22 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.7947, allocations: 9.516 kB / 1.22 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.7949, allocations: 177 kB / 1.22 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.7949, allocations: 6.781 kB / 1.22 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.7949, allocations: 7.969 kB / 1.22 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.7951, allocations: 74.11 kB / 1.22 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7951, allocations: 3.938 kB / 1.22 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.7952, allocations: 5.156 kB / 1.22 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.7952, allocations: 1.094 kB / 1.22 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.7953, allocations: 37.91 kB / 1.22 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.7959, allocations: 317.1 kB / 1.22 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.7961, allocations: 61.27 kB / 1.22 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.7962, allocations: 30.22 kB / 1.221 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.7962, allocations: 1.188 kB / 1.221 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.7965, allocations: 100.4 kB / 1.221 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 3.837e-06/0.7965, allocations: 3.984 kB / 1.221 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004524/0.7969, allocations: 158.4 kB / 1.221 GB, free: 428 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.797, allocations: 54.25 kB / 1.221 GB, free: 364 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.7971, allocations: 132.4 kB / 1.221 GB, free: 240 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.7971, allocations: 30.86 kB / 1.221 GB, free: 204 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.7972, allocations: 90.88 kB / 1.221 GB, free: 108 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.7972, allocations: 31.72 kB / 1.221 GB, free: 80 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7973, allocations: 32.42 kB / 1.221 GB, free: 52 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7974, allocations: 329 kB / 1.221 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.7975, allocations: 21.67 kB / 1.221 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.7976, allocations: 72.02 kB / 1.222 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.7978, allocations: 101.3 kB / 1.222 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7978, allocations: 4 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002782/0.7981, allocations: 132.1 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7981, allocations: 8.312 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7981, allocations: 1.094 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7981, allocations: 2.094 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.7983, allocations: 19.27 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7983, allocations: 2.281 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.7984, allocations: 18.09 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.7984, allocations: 4.094 kB / 1.222 GB, free: 15.46 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,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.000119/0.7985, allocations: 137.3 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.7985, allocations: 8.172 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.7989, allocations: 149.4 kB / 1.222 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7989, allocations: 2.125 kB / 1.222 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7989, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7989, allocations: 1.094 kB / 1.222 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.7995, allocations: 429.6 kB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7995, allocations: 4.75 kB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.7996, allocations: 12.05 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.7996, allocations: 1 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.7996, allocations: 5.094 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7996, allocations: 1.125 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7996, allocations: 3.938 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.7999, allocations: 224 kB / 1.223 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.8, allocations: 88.25 kB / 1.223 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.8, allocations: 5.031 kB / 1.223 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.8001, allocations: 13.14 kB / 1.223 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.8002, allocations: 13.17 kB / 1.223 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.8002, allocations: 3.031 kB / 1.223 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.8002, allocations: 99.45 kB / 1.223 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8002, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003409/0.8006, allocations: 47.14 kB / 1.223 GB, free: 14.42 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 (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.0004044/0.801, allocations: 175.3 kB / 1.223 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.8013, allocations: 83.95 kB / 1.223 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8013, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8014, allocations: 38.42 kB / 1.223 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.8017, allocations: 22.56 kB / 1.223 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.8022, allocations: 243.4 kB / 1.224 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.8026, allocations: 0.693 MB / 1.224 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.8026, allocations: 16.92 kB / 1.224 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.8026, allocations: 4 kB / 1.224 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.00421/0.8068, allocations: 1.818 MB / 1.226 GB, free: 12.38 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches