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.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.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.0009734/0.0009737, allocations: 92.08 kB / 16.02 MB, free: 80 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.001308/0.001308, allocations: 177.4 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.277 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.376/2.376, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.000377, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7467, allocations: 142.4 MB / 0.9557 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001464/0.7482, allocations: 1.178 MB / 0.9569 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003756/0.7486, allocations: 188.5 kB / 0.957 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.7487, allocations: 1.281 kB / 0.957 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.7487, allocations: 4 kB / 0.9571 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.7489, allocations: 16.97 kB / 0.9571 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.7491, allocations: 53.34 kB / 0.9571 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.7492, allocations: 52.38 kB / 0.9572 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.7493, allocations: 7.312 kB / 0.9572 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.7494, allocations: 19.17 kB / 0.9572 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.7495, allocations: 26.56 kB / 0.9572 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.7495, allocations: 2.031 kB / 0.9572 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.7495, allocations: 6.844 kB / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.7496, allocations: 9.453 kB / 0.9572 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.7496, allocations: 44.38 kB / 0.9573 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/0.7497, allocations: 39.8 kB / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7497, allocations: 0 / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7497, allocations: 0 / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.7497, allocations: 0 / 0.9573 GB, free: 6.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.0004219/0.7501, allocations: 342.3 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7502, allocations: 13.12 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.7502, allocations: 7.844 kB / 0.9577 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.7503, allocations: 164 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7504, allocations: 1.688 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.7504, allocations: 5.188 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.7505, allocations: 79.97 kB / 0.9579 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7505, allocations: 4.172 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7506, allocations: 3.938 kB / 0.9579 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7506, allocations: 5.406 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.7506, allocations: 17.27 kB / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.751, allocations: 273.4 kB / 0.9582 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.751, allocations: 43.34 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.7511, allocations: 19.41 kB / 0.9583 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.7511, allocations: 4 kB / 0.9583 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.7513, allocations: 63.67 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7513, allocations: 0 / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000194/0.7515, allocations: 71 kB / 0.9584 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.7515, allocations: 110.8 kB / 0.9585 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.7516, allocations: 102.3 kB / 0.9586 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.7516, allocations: 26.77 kB / 0.9586 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.7516, allocations: 89.28 kB / 0.9587 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.7517, allocations: 14.19 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.7517, allocations: 10.91 kB / 0.9587 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.7517, allocations: 320.1 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.7518, allocations: 9.328 kB / 0.959 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.7518, allocations: 32.02 kB / 0.9591 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.7519, allocations: 28.91 kB / 0.9591 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7519, allocations: 0 / 0.9591 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.207e-05/0.752, allocations: 68.41 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.752, allocations: 8.406 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.752, allocations: 1.469 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.752, allocations: 0 / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.7521, allocations: 6.219 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7521, allocations: 0 / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.7522, allocations: 15.3 kB / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.7522, allocations: 1.656 kB / 0.9592 GB, free: 4.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 6.298e-05/0.7523, allocations: 117.6 kB / 0.9593 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.7523, allocations: 5.75 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.7523, allocations: 5.312 kB / 0.9593 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7524, allocations: 3.984 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7524, allocations: 0 / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7524, allocations: 1.812 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207e-05/0.7525, allocations: 176.7 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7525, allocations: 1.844 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.7525, allocations: 5.688 kB / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7525, allocations: 9.766 kB / 0.9595 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.7525, allocations: 4 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7525, allocations: 0 / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7525, allocations: 0 / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.7526, allocations: 88.53 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.7527, allocations: 87.02 kB / 0.9597 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.7527, allocations: 10.08 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.7528, allocations: 17.14 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.7529, allocations: 5.297 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.7529, allocations: 1.344 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.7529, allocations: 84.44 kB / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7529, allocations: 1.312 kB / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001881/0.7531, allocations: 10.47 kB / 0.9598 GB, free: 3.941 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 9.761e-05/0.7532, allocations: 106.5 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.7533, allocations: 30.11 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7533, allocations: 4 kB / 0.9599 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.7534, allocations: 13.62 kB / 0.9599 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.7535, allocations: 13.53 kB / 0.96 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.7538, allocations: 162.1 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.7539, allocations: 0.6836 MB / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.754, allocations: 12.89 kB / 0.9608 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 4.1e-07/0.754, allocations: 4 kB / 0.9608 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.002234/0.7562, allocations: 0.8176 MB / 0.9616 GB, free: 2.523 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time