Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005177/0.005177, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001262/0.001262, allocations: 197 kB / 16.79 MB, free: 5.809 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.315/1.315, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.77 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002893/0.3096, allocations: 1.568 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.311, allocations: 0.7788 MB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3111, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.3111, allocations: 3.984 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.3112, allocations: 11.86 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.3117, allocations: 103.8 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3119, allocations: 87.7 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.312, allocations: 15.98 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3121, allocations: 31.86 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.3122, allocations: 43.81 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3122, allocations: 4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3124, allocations: 91.91 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.3125, allocations: 19.86 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.3125, allocations: 31.8 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.3127, allocations: 116 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3127, allocations: 4 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3127, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3127, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 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.0007835/0.3135, allocations: 470.5 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3136, allocations: 8.031 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3136, allocations: 16.84 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3138, allocations: 185.8 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.3139, allocations: 38.27 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3139, allocations: 4.375 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.3141, allocations: 85.7 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3141, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3141, allocations: 3.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3142, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.3144, allocations: 47.97 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3149, allocations: 324.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3152, allocations: 66.58 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3153, allocations: 48.83 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3153, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.3156, allocations: 99.2 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3156, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005095/0.3161, allocations: 165.5 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3162, allocations: 63.34 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3163, allocations: 132.8 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3163, allocations: 29.7 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.3164, allocations: 92.36 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3164, allocations: 27.8 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.3165, allocations: 37.7 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3166, allocations: 322.8 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3167, allocations: 27.98 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3169, allocations: 73.12 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.3171, allocations: 105 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3171, allocations: 4 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003091/0.3175, allocations: 129.4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3175, allocations: 4.125 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3175, allocations: 8 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3175, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3177, allocations: 19.92 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3177, allocations: 7.984 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.3178, allocations: 19.89 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3178, allocations: 4 kB / 1.058 GB, free: 2.48 MB / 0.8106 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.000114/0.3179, allocations: 125.7 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.318, allocations: 12 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.318, allocations: 20.64 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.318, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.318, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.318, allocations: 3.984 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.3187, allocations: 426.6 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3187, allocations: 4 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.3188, allocations: 11.98 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3188, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3188, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3188, allocations: 7.922 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3188, allocations: 4 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.3192, allocations: 227.3 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3192, allocations: 85.02 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3193, allocations: 4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3194, allocations: 15.92 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3195, allocations: 15.91 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3195, allocations: 4 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.999e-05/0.3196, allocations: 99.27 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003258/0.3199, allocations: 43.98 kB / 1.059 GB, free: 1.293 MB / 0.8106 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 (10): * Single equations (assignments): 7 * 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.0003563/0.3203, allocations: 162.6 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3206, allocations: 83.89 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3206, allocations: 4.25 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3208, allocations: 51.91 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3211, allocations: 11.98 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.3216, allocations: 266.9 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3219, allocations: 0.6926 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.3219, allocations: 15.42 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3219, allocations: 0 / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.003883/0.3258, allocations: 1.867 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches