Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 100.1 kB / 15.88 MB, free: 12 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.001994/0.001994, allocations: 200.3 kB / 16.79 MB, free: 6.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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.12 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6097, allocations: 140.4 MB / 0.9496 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00221/0.6119, allocations: 1.567 MB / 0.9511 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.613, allocations: 0.7591 MB / 0.9518 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.613, allocations: 0 / 0.9518 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.6131, allocations: 7.938 kB / 0.9519 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.6132, allocations: 10.92 kB / 0.9519 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.6136, allocations: 108.9 kB / 0.952 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.6137, allocations: 77.36 kB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.6138, allocations: 18.88 kB / 0.9521 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.6139, allocations: 34.02 kB / 0.9521 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.6139, allocations: 44.28 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.6139, allocations: 3.688 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.6141, allocations: 97.53 kB / 0.9522 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.6141, allocations: 15.8 kB / 0.9522 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.6142, allocations: 33.61 kB / 0.9523 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.6143, allocations: 101.7 kB / 0.9524 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6143, allocations: 0 / 0.9524 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6143, allocations: 0 / 0.9524 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6143, allocations: 1.406 kB / 0.9524 GB, free: 7.285 MB / 0.7169 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.0005866/0.6149, allocations: 468.5 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.615, allocations: 9.938 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.615, allocations: 8.438 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.6151, allocations: 177.5 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6151, allocations: 2.25 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.6152, allocations: 13 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.6153, allocations: 73.89 kB / 0.9531 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6153, allocations: 0 / 0.9531 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.6154, allocations: 9.375 kB / 0.9531 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6154, allocations: 0 / 0.9531 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.6155, allocations: 38.06 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.6159, allocations: 322.1 kB / 0.9535 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.6161, allocations: 67.98 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.6162, allocations: 36.25 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6162, allocations: 1.156 kB / 0.9536 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.6164, allocations: 95.7 kB / 0.9536 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.6164, allocations: 1.469 kB / 0.9536 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000364/0.6168, allocations: 157.6 kB / 0.9538 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.6168, allocations: 57.72 kB / 0.9538 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.6169, allocations: 136.1 kB / 0.954 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6169, allocations: 27.3 kB / 0.954 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.6169, allocations: 90.66 kB / 0.9541 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.617, allocations: 31.06 kB / 0.9541 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.617, allocations: 32.11 kB / 0.9542 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.6171, allocations: 324.9 kB / 0.9545 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.6172, allocations: 27.52 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.6173, allocations: 64.11 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.6174, allocations: 109.1 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6174, allocations: 0 / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002145/0.6176, allocations: 128 kB / 0.9548 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6177, allocations: 7.094 kB / 0.9548 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6177, allocations: 1.375 kB / 0.9548 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6177, allocations: 2.812 kB / 0.9548 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.6178, allocations: 18.23 kB / 0.9548 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6178, allocations: 6.844 kB / 0.9548 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6179, allocations: 14.64 kB / 0.9548 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.6179, allocations: 7.906 kB / 0.9548 GB, free: 4.969 MB / 0.7169 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 6.971e-05/0.618, allocations: 128.2 kB / 0.955 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.618, allocations: 7 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.6183, allocations: 145.9 kB / 0.9551 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6184, allocations: 6.562 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6184, allocations: 3.938 kB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6184, allocations: 0 / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.6188, allocations: 418.7 kB / 0.9555 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6188, allocations: 5.344 kB / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.6189, allocations: 15.33 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6189, allocations: 0 / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6189, allocations: 10.66 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6189, allocations: 0 / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.619, allocations: 3.938 kB / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.6192, allocations: 220.8 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.6192, allocations: 83.89 kB / 0.9558 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.6193, allocations: 5.562 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6194, allocations: 8.609 kB / 0.9558 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.6194, allocations: 16.42 kB / 0.9559 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.6195, allocations: 7.438 kB / 0.9559 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.6195, allocations: 95.64 kB / 0.956 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6195, allocations: 0 / 0.956 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003057/0.6198, allocations: 51.64 kB / 0.956 GB, free: 3.938 MB / 0.7169 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.0003029/0.6201, allocations: 172.7 kB / 0.9562 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.6204, allocations: 82.92 kB / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6204, allocations: 0 / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6205, allocations: 48.55 kB / 0.9563 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.6208, allocations: 19.12 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.6212, allocations: 247.7 kB / 0.9566 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.6213, allocations: 0.6938 MB / 0.9572 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.6213, allocations: 16.48 kB / 0.9572 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6214, allocations: 4 kB / 0.9573 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.003256/0.6246, allocations: 1.818 MB / 0.959 GB, free: 1.875 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches