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.001438/0.001438, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001487/0.001487, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 61.92 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3287, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002982/0.3317, allocations: 1.466 MB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.3322, allocations: 187.3 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3322, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3323, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.3326, allocations: 23.84 kB / 0.9528 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3328, allocations: 67.8 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3329, allocations: 55.84 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.333, allocations: 11.98 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.3331, allocations: 27.91 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.3332, allocations: 15.92 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3332, allocations: 4 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.3332, allocations: 4 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.3333, allocations: 15.98 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.3333, allocations: 23.86 kB / 0.953 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3334, allocations: 55.8 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3334, allocations: 0 / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3334, allocations: 0 / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3335, allocations: 0 / 0.953 GB, free: 6.125 MB / 0.7325 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.0005767/0.334, allocations: 347.5 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3341, allocations: 8.031 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3341, allocations: 8.844 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3343, allocations: 172.3 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3343, allocations: 4.375 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3343, allocations: 4.375 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3345, allocations: 72.81 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3345, allocations: 192 / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3345, allocations: 7.938 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3345, allocations: 0 / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.3346, allocations: 19.92 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.3351, allocations: 280.8 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3352, allocations: 38.56 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.3352, allocations: 16.94 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3353, allocations: 0 / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.3354, allocations: 67.33 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.3354, allocations: 0 / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.3357, allocations: 73.69 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.3358, allocations: 106.8 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.3359, allocations: 105.8 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3359, allocations: 29.7 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.336, allocations: 92.03 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.336, allocations: 7.844 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.336, allocations: 17.72 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3362, allocations: 326.8 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.3362, allocations: 12 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.3363, allocations: 42.44 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.3363, allocations: 25.23 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3363, allocations: 4 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.579e-05/0.3364, allocations: 53.69 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3365, allocations: 5.875 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3365, allocations: 4 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3365, allocations: 0 / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.3366, allocations: 12.02 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3366, allocations: 7.938 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3367, allocations: 11.91 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3367, allocations: 3.984 kB / 0.9549 GB, free: 3.918 MB / 0.7325 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 9.387e-05/0.3368, allocations: 119.8 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.3368, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3369, allocations: 7.5 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.3369, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3369, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3369, allocations: 4.188 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.337, allocations: 173.6 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3371, allocations: 3.984 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.3371, allocations: 4 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3371, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3371, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3371, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3371, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3373, allocations: 101 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.3373, allocations: 93 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3374, allocations: 0 / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3375, allocations: 7.984 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3375, allocations: 4.062 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3375, allocations: 4 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.3376, allocations: 91.27 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3376, allocations: 0 / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001942/0.3378, allocations: 8 kB / 0.9555 GB, free: 3.211 MB / 0.7325 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.0001205/0.3379, allocations: 107.2 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3381, allocations: 31.98 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3381, allocations: 3.938 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.3381, allocations: 23.86 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.3383, allocations: 7.938 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3386, allocations: 113.6 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.339, allocations: 0.6908 MB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.339, allocations: 4 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.339, allocations: 15.42 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.339, allocations: 0 / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.003984/0.343, allocations: 0.8748 MB / 0.9573 GB, free: 1.328 MB / 0.7325 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 -s cvode -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