Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008402/0.008402, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001882/0.001882, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7347 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 56.09 kB / 1.054 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9243, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002592/0.9269, allocations: 1.454 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004906/0.9274, allocations: 191.4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.9275, allocations: 4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.9275, allocations: 3.938 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.9278, allocations: 22.84 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.928, allocations: 55.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.9282, allocations: 55.84 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.9283, allocations: 7.984 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.9283, allocations: 31.84 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.9284, allocations: 27.91 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.9285, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.9285, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.9285, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.9286, allocations: 27.86 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.9287, allocations: 47.52 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9287, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9287, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.9287, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 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.0005387/0.9293, allocations: 357.4 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.9293, allocations: 8.031 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.9293, allocations: 4.938 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9295, allocations: 164.3 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.9295, allocations: 4.375 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.9295, allocations: 384 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.9297, allocations: 84.75 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.9297, allocations: 192 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9297, allocations: 7.938 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9297, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.9298, allocations: 19.98 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.9302, allocations: 284.8 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.9303, allocations: 34.58 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.9303, allocations: 16.94 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.9303, allocations: 8 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.9305, allocations: 55.39 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.9305, allocations: 4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002325/0.9307, allocations: 77.52 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.9308, allocations: 106.8 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.9309, allocations: 105.9 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.9309, allocations: 25.7 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.931, allocations: 92.12 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.931, allocations: 7.906 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.9311, allocations: 25.7 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9312, allocations: 314.8 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.9312, allocations: 11.94 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.9313, allocations: 34.56 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/0.9314, allocations: 28.8 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9314, allocations: 32 / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.902e-05/0.9315, allocations: 65.59 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9315, allocations: 8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.9315, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9315, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.9316, allocations: 7.984 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9316, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.9317, allocations: 12.42 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.9318, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 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.177e-05/0.9318, allocations: 121.8 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.9319, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.9319, allocations: 11.5 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9319, allocations: 0 / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9319, allocations: 3.938 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9319, allocations: 192 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.9321, allocations: 173.6 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9321, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.9321, allocations: 7.984 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9321, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9321, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9321, allocations: 8 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.9321, allocations: 3.984 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.9323, allocations: 88.97 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.9323, allocations: 93.03 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9324, allocations: 0 / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.9325, allocations: 10.17 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.9325, allocations: 4 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.9325, allocations: 7.984 kB / 1.212 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.9326, allocations: 87.28 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9326, allocations: 3.938 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001847/0.9328, allocations: 12 kB / 1.212 GB, free: 8.715 MB / 0.9356 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.0001741/0.933, allocations: 99.25 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.9331, allocations: 35.92 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9331, allocations: 3.938 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.9331, allocations: 15.98 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.9333, allocations: 11.94 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.9336, allocations: 133.3 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.9339, allocations: 0.6807 MB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.934, allocations: 7.984 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.934, allocations: 11.44 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.934, allocations: 0 / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.003128/0.9371, allocations: 0.8848 MB / 1.214 GB, free: 6.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches