Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, 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.001734/0.001734, allocations: 195.2 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.399/2.399, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7706, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002712/0.7734, allocations: 1.514 MB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.7738, allocations: 193 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.7738, allocations: 0 / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.7739, allocations: 5.375 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.7741, allocations: 21.34 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.7743, allocations: 48.39 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.651e-05/0.7744, allocations: 60.58 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.7745, allocations: 4.125 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.7746, allocations: 22.92 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.7747, allocations: 26.78 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.7747, allocations: 4.125 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.7747, allocations: 9.5 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.7748, allocations: 9.359 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.7748, allocations: 28.11 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.7749, allocations: 46.2 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7749, allocations: 0 / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7749, allocations: 0 / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.7749, allocations: 0 / 0.951 GB, free: 7.574 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.0004927/0.7754, allocations: 349.9 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7755, allocations: 9.625 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.7755, allocations: 15.58 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.7756, allocations: 171 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.7757, allocations: 1.75 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.7757, allocations: 1.75 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.7758, allocations: 75.53 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7758, allocations: 192 / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7758, allocations: 5.531 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7759, allocations: 3.984 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.7759, allocations: 21.27 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.7763, allocations: 285.2 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.7764, allocations: 40.09 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.7764, allocations: 14.52 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.7764, allocations: 5.469 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.7766, allocations: 65.81 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.7766, allocations: 0 / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.7768, allocations: 67.38 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.7768, allocations: 104.1 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.7769, allocations: 108.8 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7769, allocations: 26.73 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.777, allocations: 86.42 kB / 0.9524 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.777, allocations: 21.28 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.777, allocations: 15.19 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.7771, allocations: 324.2 kB / 0.9528 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.7771, allocations: 9.531 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.7772, allocations: 36.41 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.7772, allocations: 28.98 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7772, allocations: 0 / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.571e-05/0.7773, allocations: 63.72 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7774, allocations: 7.281 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7774, allocations: 1.281 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7774, allocations: 0 / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.7775, allocations: 5.125 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.7775, allocations: 1.219 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.7776, allocations: 9.078 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.7776, allocations: 1.188 kB / 0.9529 GB, free: 5.59 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.518e-05/0.7777, allocations: 129.7 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.7777, allocations: 6.688 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.7777, allocations: 3.5 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7777, allocations: 1.25 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7778, allocations: 0 / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7778, allocations: 1 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.7779, allocations: 177.9 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7779, allocations: 3.938 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.7779, allocations: 3.531 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7779, allocations: 0 / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.7779, allocations: 1.25 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7779, allocations: 4 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7779, allocations: 1.312 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.7781, allocations: 94.02 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.7781, allocations: 95.97 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.7781, allocations: 1.531 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.7783, allocations: 9.406 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.7783, allocations: 2.781 kB / 0.9534 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.7783, allocations: 5.594 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.7783, allocations: 87.23 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7784, allocations: 1.469 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001925/0.7786, allocations: 13.09 kB / 0.9535 GB, free: 4.93 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.0001111/0.7787, allocations: 104.6 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.7788, allocations: 28.95 kB / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7788, allocations: 1.844 kB / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.7789, allocations: 20.62 kB / 0.9537 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.779, allocations: 14.45 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.7793, allocations: 128.8 kB / 0.9538 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.7795, allocations: 0.6834 MB / 0.9545 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.7795, allocations: 3.906 kB / 0.9545 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.7796, allocations: 13.89 kB / 0.9545 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7796, allocations: 5.156 kB / 0.9545 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.003175/0.7827, allocations: 0.8609 MB / 0.9554 GB, free: 3.543 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches