Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001864, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002197/0.002197, allocations: 196.8 kB / 16.25 MB, free: 6.625 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8101, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003593/0.8137, allocations: 1.523 MB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00052/0.8143, allocations: 190.3 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.8144, allocations: 4 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.8144, allocations: 0 / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.8148, allocations: 25.09 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.815, allocations: 53.03 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.8151, allocations: 52.84 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.8153, allocations: 7.875 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.8153, allocations: 28.22 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.8154, allocations: 17.42 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.8155, allocations: 8.219 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.8155, allocations: 5.594 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.8155, allocations: 13.39 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.8156, allocations: 27 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.8158, allocations: 46.47 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8158, allocations: 1.469 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8158, allocations: 0 / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8158, allocations: 0 / 0.951 GB, free: 7.562 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006496/0.8164, allocations: 345.4 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.8165, allocations: 16.33 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.8166, allocations: 7.344 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.8167, allocations: 172.1 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.8168, allocations: 2.125 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.8168, allocations: 2.094 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.817, allocations: 74.97 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.817, allocations: 192 / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.817, allocations: 9.562 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.817, allocations: 4 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.8171, allocations: 16.86 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.8175, allocations: 277.8 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.8176, allocations: 39.59 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.8176, allocations: 14.55 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.8177, allocations: 13.42 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.8179, allocations: 62.14 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.8179, allocations: 0 / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002315/0.8181, allocations: 71.75 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.8182, allocations: 102.8 kB / 0.9522 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.8183, allocations: 106.1 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.8183, allocations: 27.08 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.8183, allocations: 89.52 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.8184, allocations: 13.17 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.8184, allocations: 19.22 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.8185, allocations: 324.1 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/0.8185, allocations: 9.5 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.8186, allocations: 32.44 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.8186, allocations: 33.3 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8186, allocations: 4.031 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.017e-05/0.8187, allocations: 55.56 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8188, allocations: 11.78 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8188, allocations: 192 / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8188, allocations: 1.375 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.8189, allocations: 9.484 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8189, allocations: 0 / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.819, allocations: 13.48 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.819, allocations: 1.375 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.618e-05/0.8191, allocations: 129.8 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.8191, allocations: 5.281 kB / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.8191, allocations: 4.875 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.8191, allocations: 1.375 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8192, allocations: 0 / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8192, allocations: 0 / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.825e-05/0.8193, allocations: 174.6 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8193, allocations: 0 / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.8193, allocations: 2.281 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8193, allocations: 1.844 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.8193, allocations: 4 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8193, allocations: 0 / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8193, allocations: 1.094 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.8195, allocations: 90.42 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.8195, allocations: 91.91 kB / 0.9534 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.8195, allocations: 5.5 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8196, allocations: 13.42 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.8197, allocations: 9.375 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8197, allocations: 7.062 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.8198, allocations: 87.23 kB / 0.9535 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8198, allocations: 0 / 0.9535 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001951/0.82, allocations: 11.31 kB / 0.9535 GB, free: 4.922 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001466/0.8201, allocations: 98.69 kB / 0.9536 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.8203, allocations: 34.05 kB / 0.9537 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8203, allocations: 1.25 kB / 0.9537 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.8203, allocations: 25.14 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.8205, allocations: 6 kB / 0.9537 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.8208, allocations: 129.2 kB / 0.9538 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.821, allocations: 0.684 MB / 0.9545 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.877e-05/0.821, allocations: 8.438 kB / 0.9545 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.8211, allocations: 17.64 kB / 0.9545 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8211, allocations: 0 / 0.9545 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.003331/0.8244, allocations: 0.8657 MB / 0.9554 GB, free: 3.535 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches