Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 165.7 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.899/2.899, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.025e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003372/0.003402, allocations: 1.479 MB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.003957, allocations: 179.3 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.004018, allocations: 0 / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.004058, allocations: 3.938 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.004356, allocations: 27.78 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.004599, allocations: 49.8 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.00475, allocations: 63.84 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.004857, allocations: 15.91 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004968, allocations: 35.92 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.005056, allocations: 15.97 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.005098, allocations: 4 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.005119, allocations: 4 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.005168, allocations: 23.91 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.005221, allocations: 15.94 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.005366, allocations: 59.89 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005369, allocations: 3.938 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00537, allocations: 0 / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005375, allocations: 0 / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006332/0.006008, allocations: 282.3 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.006048, allocations: 8.031 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.006094, allocations: 8.891 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006263, allocations: 109.7 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.006281, allocations: 4.375 kB / 1.002 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.006299, allocations: 4.375 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.006518, allocations: 132.1 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006527, allocations: 4.125 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.006551, allocations: 8.375 kB / 1.003 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006557, allocations: 8.359 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.006614, allocations: 15.94 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.007088, allocations: 224.5 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.00722, allocations: 42.52 kB / 1.003 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.007264, allocations: 20.94 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.007277, allocations: 0 / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.007459, allocations: 67.33 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.007461, allocations: 0 / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0002636/0.007724, allocations: 81.62 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.007807, allocations: 106.8 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.007909, allocations: 105.8 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.007938, allocations: 33.7 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.007998, allocations: 88.08 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.008023, allocations: 15.89 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.008086, allocations: 25.7 kB / 1.003 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.008237, allocations: 314.8 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.008274, allocations: 12 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.008368, allocations: 90.03 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.008457, allocations: 36.84 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008458, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.008601, allocations: 85.69 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.008618, allocations: 6.344 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008623, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.008642, allocations: 7.938 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.008723, allocations: 4 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008728, allocations: 0 / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.008843, allocations: 15.98 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.008851, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 0.0001117/0.008963, allocations: 110.4 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.008988, allocations: 23.88 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.009012, allocations: 3.812 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.009016, allocations: 3.984 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.00902, allocations: 0 / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009023, allocations: 0 / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.009135, allocations: 109.3 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009136, allocations: 4.438 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.009159, allocations: 7.938 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009161, allocations: 0 / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.009181, allocations: 15.94 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.009182, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009183, allocations: 4 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.009335, allocations: 89.11 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.009368, allocations: 11.94 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.009395, allocations: 7.938 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.009501, allocations: 11.98 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.00954, allocations: 4 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.009546, allocations: 0 / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.009618, allocations: 87.27 kB / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.009618, allocations: 0 / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002028/0.009821, allocations: 12 kB / 1.004 GB, free: 2.566 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001619/0.009983, allocations: 111.2 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.01012, allocations: 35.98 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.01017, allocations: 15.98 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.01034, allocations: 4 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.01072, allocations: 132.7 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.01078, allocations: 63.34 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.01083, allocations: 19.92 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.01086, allocations: 12.5 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.01086, allocations: 0 / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.003995/0.01486, allocations: 0.9799 MB / 1.006 GB, free: 1.195 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.361494608223438]