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.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.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.009615/0.009615, allocations: 101.8 kB / 15.88 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.002139/0.002139, allocations: 192.7 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.413/2.413, allocations: 390.2 MB / 0.6649 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 68.12 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6128, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002272/0.6151, allocations: 1.524 MB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003322/0.6154, allocations: 194.1 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.6155, allocations: 0 / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.6155, allocations: 0 / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.6157, allocations: 21.36 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.6159, allocations: 53.05 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.616, allocations: 52.61 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.6161, allocations: 10.67 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.6161, allocations: 24.34 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.6162, allocations: 21.42 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.6162, allocations: 2.75 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.6163, allocations: 2.75 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.6163, allocations: 14.67 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.6163, allocations: 18.8 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.421e-05/0.6164, allocations: 31.53 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6164, allocations: 0 / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6164, allocations: 0 / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.6164, allocations: 1.375 kB / 0.9515 GB, free: 7.621 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.0004551/0.6169, allocations: 351.9 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6169, allocations: 13.61 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.617, allocations: 7.594 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.6171, allocations: 166.9 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6171, allocations: 1.562 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.6171, allocations: 6.469 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.6173, allocations: 70.94 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.6173, allocations: 192 / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.6173, allocations: 9.25 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6173, allocations: 1.25 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.6174, allocations: 16.64 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.6177, allocations: 285.1 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.6178, allocations: 39.72 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.6178, allocations: 18.61 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.6178, allocations: 5.359 kB / 0.9524 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.618, allocations: 61.83 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.618, allocations: 1.125 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.6182, allocations: 66.84 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.6182, allocations: 108.3 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.6183, allocations: 104.3 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6183, allocations: 39.2 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.6183, allocations: 82.14 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.6184, allocations: 16.67 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.6184, allocations: 20.28 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.6184, allocations: 319.9 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.6185, allocations: 9.125 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.342e-05/0.6185, allocations: 37.38 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.6186, allocations: 32.45 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6186, allocations: 0 / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.921e-05/0.6187, allocations: 59.62 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6187, allocations: 5.125 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6187, allocations: 1.156 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6187, allocations: 192 / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.6188, allocations: 6.312 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6188, allocations: 3.984 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.6189, allocations: 7.281 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6189, allocations: 5.375 kB / 0.9534 GB, free: 5.637 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 6.295e-05/0.619, allocations: 129.7 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.619, allocations: 6.219 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.619, allocations: 7.5 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.619, allocations: 1.281 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6191, allocations: 0 / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.6191, allocations: 1.406 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.6191, allocations: 170 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6191, allocations: 0 / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.6192, allocations: 2.781 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6192, allocations: 4 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.6192, allocations: 5.344 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6192, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6192, allocations: 1.25 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.6193, allocations: 94.33 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.6194, allocations: 91.97 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.6194, allocations: 0.9375 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6195, allocations: 17.52 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.6195, allocations: 1.938 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6196, allocations: 9.938 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.6196, allocations: 84.92 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6196, allocations: 0 / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001901/0.6198, allocations: 13.34 kB / 0.954 GB, free: 4.977 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 8.912e-05/0.6199, allocations: 99.88 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.62, allocations: 30.39 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.62, allocations: 4 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.62, allocations: 20.69 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.6202, allocations: 10.86 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.6205, allocations: 150 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.6206, allocations: 0.6808 MB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.6206, allocations: 9.125 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6206, allocations: 4 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.00205/0.6227, allocations: 0.8237 MB / 0.9558 GB, free: 3.578 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/jenkins1/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