Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001467/0.001467, allocations: 190.1 kB / 16.25 MB, free: 6.598 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.92/2.92, allocations: 469.8 MB / 0.742 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.47 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003143/0.3573, allocations: 1.519 MB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.3579, allocations: 187.4 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.3579, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.358, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3583, allocations: 19.88 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3585, allocations: 57.41 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3586, allocations: 63.77 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3587, allocations: 8 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.3588, allocations: 19.98 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.3589, allocations: 15.92 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.3589, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.359, allocations: 8 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.359, allocations: 19.91 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.3591, allocations: 19.92 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3592, allocations: 52.08 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.465e-06/0.3592, allocations: 11.94 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3592, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3592, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 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.0006549/0.3599, allocations: 343.5 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.36, allocations: 8.031 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.36, allocations: 4.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3602, allocations: 180.2 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3602, allocations: 4.375 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3603, allocations: 384 / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3604, allocations: 76.81 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3604, allocations: 192 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3605, allocations: 3.938 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3605, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.3605, allocations: 23.98 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.361, allocations: 272.8 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3611, allocations: 38.56 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.3611, allocations: 16.86 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.3612, allocations: 0 / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3614, allocations: 67.42 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3614, allocations: 0 / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.3616, allocations: 77.58 kB / 1.066 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.261e-05/0.3617, allocations: 102.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3618, allocations: 109.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3618, allocations: 25.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.3619, allocations: 88.14 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3619, allocations: 11.83 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.362, allocations: 21.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3622, allocations: 322.8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.3622, allocations: 8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.3623, allocations: 42.5 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.3623, allocations: 25.23 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3623, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.3624, allocations: 61.59 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3625, allocations: 8 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3625, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3625, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.3626, allocations: 8.031 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3626, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3627, allocations: 17.53 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3627, allocations: 0 / 1.067 GB, free: 10.42 MB / 0.8262 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 0.0001112/0.3628, allocations: 117.7 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3629, allocations: 12.11 kB / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3629, allocations: 7.5 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3629, allocations: 3.984 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3629, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3629, allocations: 4 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3631, allocations: 177.6 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3631, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.3631, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3631, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3632, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3632, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3632, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3633, allocations: 100.9 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.3634, allocations: 85.09 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3634, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3636, allocations: 7.984 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3636, allocations: 7.938 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3636, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.3637, allocations: 91.33 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3637, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001873/0.3639, allocations: 8 kB / 1.068 GB, free: 9.699 MB / 0.8262 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.0001341/0.364, allocations: 103.4 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.3642, allocations: 35.98 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3642, allocations: 0 / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.3642, allocations: 19.94 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.3644, allocations: 7.938 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.3647, allocations: 129.6 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3651, allocations: 0.6845 MB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3651, allocations: 4 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.3652, allocations: 11.44 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3652, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of Templates: time 0.003415/0.3686, allocations: 0.8719 MB / 1.07 GB, free: 7.785 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches