Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_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_9_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.0008408/0.0008406, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00121/0.00121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.422 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.482/2.482, allocations: 390.9 MB / 0.666 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006529, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8217, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001609/0.8234, allocations: 1.17 MB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.8238, allocations: 170 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.8238, allocations: 0 / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.8239, allocations: 1.188 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.8241, allocations: 25.56 kB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.8243, allocations: 49.8 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.8244, allocations: 51.48 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.8245, allocations: 3.625 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.8246, allocations: 27.48 kB / 0.9559 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.8246, allocations: 17.95 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.8247, allocations: 2.062 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.8247, allocations: 2.562 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.8247, allocations: 22.12 kB / 0.9559 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.8248, allocations: 29.86 kB / 0.956 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.8248, allocations: 34.38 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8249, allocations: 0 / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8249, allocations: 1.5 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8249, allocations: 0 / 0.956 GB, free: 6.512 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.0004531/0.8253, allocations: 342.7 kB / 0.9563 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8254, allocations: 10.25 kB / 0.9563 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.8254, allocations: 17.52 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.8255, allocations: 166 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.8256, allocations: 1.438 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.8256, allocations: 6.812 kB / 0.9565 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.8257, allocations: 69.19 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8257, allocations: 1.125 kB / 0.9566 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.8258, allocations: 3.984 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8258, allocations: 1.188 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.8258, allocations: 20.98 kB / 0.9566 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.8262, allocations: 281.8 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.8263, allocations: 34.08 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.8263, allocations: 19.5 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.8263, allocations: 1.438 kB / 0.9569 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.8265, allocations: 74.23 kB / 0.957 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8265, allocations: 0 / 0.957 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.8268, allocations: 73.89 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.8268, allocations: 108.9 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.8269, allocations: 100.7 kB / 0.9573 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8269, allocations: 30.75 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.8269, allocations: 82.14 kB / 0.9574 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.827, allocations: 13.88 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.827, allocations: 0 / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.827, allocations: 316 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.8271, allocations: 13.73 kB / 0.9577 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.8271, allocations: 35.3 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.8272, allocations: 14.61 kB / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8272, allocations: 0 / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.041e-05/0.8273, allocations: 59.39 kB / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8273, allocations: 9.703 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8273, allocations: 3.953 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8273, allocations: 1.156 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.8274, allocations: 5.25 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8274, allocations: 1.188 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.8275, allocations: 19.8 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.8275, allocations: 1.188 kB / 0.9579 GB, free: 4.562 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.8276, allocations: 121.2 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.8276, allocations: 2.094 kB / 0.958 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.8277, allocations: 8.781 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.8277, allocations: 3.953 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.8277, allocations: 5.047 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8277, allocations: 0 / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.8278, allocations: 165.9 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8278, allocations: 1.156 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.8278, allocations: 2.188 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8278, allocations: 1 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.8278, allocations: 9.172 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8278, allocations: 0 / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8279, allocations: 3.953 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.828, allocations: 90.94 kB / 0.9582 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.828, allocations: 87.47 kB / 0.9583 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.8281, allocations: 1.938 kB / 0.9583 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.8282, allocations: 14.98 kB / 0.9583 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.8282, allocations: 14.09 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.8282, allocations: 2.438 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.8282, allocations: 83.59 kB / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8283, allocations: 0 / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001962/0.8285, allocations: 13.25 kB / 0.9585 GB, free: 3.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.8286, allocations: 103.8 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.8287, allocations: 32.98 kB / 0.9586 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8287, allocations: 0 / 0.9586 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.8288, allocations: 22.44 kB / 0.9586 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.8289, allocations: 5.25 kB / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.8292, allocations: 126.6 kB / 0.9587 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8294, allocations: 0.68 MB / 0.9594 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.8294, allocations: 9.344 kB / 0.9594 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.8294, allocations: 17.75 kB / 0.9594 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8294, allocations: 0 / 0.9594 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.003044/0.8325, allocations: 0.7927 MB / 0.9602 GB, free: 2.535 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches