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) 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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 110 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.28 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3044, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002966/0.3074, allocations: 1.522 MB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3086, allocations: 0.7609 MB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3087, allocations: 0 / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.3088, allocations: 7.875 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.3089, allocations: 15.84 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.3094, allocations: 131.5 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3095, allocations: 99.7 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.3096, allocations: 15.98 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.3097, allocations: 43.83 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.3098, allocations: 51.77 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3098, allocations: 11.98 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.31, allocations: 91.92 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.31, allocations: 23.91 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.3101, allocations: 35.8 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3103, allocations: 167.5 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3103, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3103, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3103, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 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.0007102/0.3111, allocations: 0.4885 MB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3111, allocations: 8.031 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.3111, allocations: 12.84 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3113, allocations: 178.1 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3113, allocations: 16.3 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3113, allocations: 4.375 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3115, allocations: 85.95 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3115, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3116, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3116, allocations: 0 / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3117, allocations: 47.91 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.3123, allocations: 340.7 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3125, allocations: 78.67 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.3126, allocations: 36.84 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3126, allocations: 3.984 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3128, allocations: 107.3 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3128, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0004152/0.3132, allocations: 177.5 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3133, allocations: 59.33 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3134, allocations: 134.1 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3134, allocations: 29.7 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3135, allocations: 92.14 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.3135, allocations: 35.55 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.3136, allocations: 29.7 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.3137, allocations: 322.8 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.3138, allocations: 35.91 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.3139, allocations: 71.39 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.314, allocations: 113 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3141, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002509/0.3143, allocations: 137.4 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3143, allocations: 10.75 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3144, allocations: 4 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3144, allocations: 0 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3145, allocations: 19.92 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3145, allocations: 4 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.3146, allocations: 15.92 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3146, allocations: 8 kB / 1.024 GB, free: 3.922 MB / 0.795 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.3e-05/0.3147, allocations: 117.8 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.3147, allocations: 11.91 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3151, allocations: 166.3 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3151, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3151, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3151, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.3156, allocations: 454.3 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3157, allocations: 0 / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.3157, allocations: 19.98 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3158, allocations: 0 / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3158, allocations: 0 / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.3158, allocations: 11.92 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3158, allocations: 3.938 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3161, allocations: 240 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.3161, allocations: 88.86 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3162, allocations: 15.94 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3163, allocations: 7.984 kB / 1.025 GB, free: 2.703 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3163, allocations: 7.984 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3164, allocations: 8 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.3164, allocations: 95.27 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3164, allocations: 0 / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003132/0.3167, allocations: 51.98 kB / 1.026 GB, free: 2.543 MB / 0.795 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.000291/0.317, allocations: 167.4 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3173, allocations: 97.83 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3173, allocations: 4 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3174, allocations: 47.98 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3177, allocations: 20.17 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3182, allocations: 221 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3184, allocations: 0.6963 MB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.3185, allocations: 12.42 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3185, allocations: 15.44 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3185, allocations: 0 / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of Templates: time 0.004586/0.3231, allocations: 1.953 MB / 1.029 GB, free: 15.28 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) 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) Reference file matches