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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.12 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6844, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002832/0.6873, allocations: 1.502 MB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.6887, allocations: 0.7634 MB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.6888, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.6888, allocations: 3.938 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.6889, allocations: 11.81 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.6895, allocations: 131.6 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.6897, allocations: 87.83 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.6898, allocations: 8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.6899, allocations: 43.78 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.69, allocations: 39.75 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.69, allocations: 8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.6902, allocations: 95.84 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.6902, allocations: 19.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.6903, allocations: 35.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.6905, allocations: 149.6 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6905, allocations: 3.984 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6905, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.6905, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 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.0006752/0.6912, allocations: 460.1 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6912, allocations: 11.97 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.6913, allocations: 16.83 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6914, allocations: 176.2 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.6915, allocations: 4.375 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.6915, allocations: 4.375 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.6917, allocations: 85.83 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6917, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6917, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6917, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.6918, allocations: 47.95 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.6924, allocations: 324.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.6925, allocations: 66.55 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.6926, allocations: 28.84 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.6926, allocations: 8.141 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.6929, allocations: 99.39 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6929, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004046/0.6933, allocations: 157.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6933, allocations: 55.41 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.6934, allocations: 123 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.6935, allocations: 33.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.6935, allocations: 92.36 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.6935, allocations: 23.66 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.6936, allocations: 33.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6937, allocations: 322.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.6938, allocations: 27.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.6939, allocations: 74.88 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.6941, allocations: 97.02 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6941, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002364/0.6943, allocations: 133.4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6944, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6944, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6944, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.6945, allocations: 16.36 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.6945, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.6946, allocations: 19.89 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.6946, allocations: 4.125 kB / 1.023 GB, free: 12.81 MB / 0.7794 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 8.22e-05/0.6947, allocations: 133.6 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.6948, allocations: 15.89 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.6951, allocations: 142 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6951, allocations: 7.984 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6951, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6951, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.6957, allocations: 430.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6957, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.6958, allocations: 15.92 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6958, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.6958, allocations: 8.094 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6958, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6958, allocations: 3.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.6961, allocations: 235.5 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.6962, allocations: 85.02 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.6963, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.6964, allocations: 15.98 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.6964, allocations: 15.92 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.6965, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.6965, allocations: 100.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6965, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003116/0.6968, allocations: 39.98 kB / 1.024 GB, free: 11.47 MB / 0.7794 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.0003256/0.6972, allocations: 170 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.6974, allocations: 84.08 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6974, allocations: 4.062 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.6976, allocations: 51.97 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6978, allocations: 16.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.6983, allocations: 195.8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.6985, allocations: 0.6963 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.6985, allocations: 8.438 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.6986, allocations: 19.42 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6986, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.004306/0.7029, allocations: 1.798 MB / 1.027 GB, free: 8.402 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches