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.00746/0.00746, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001721/0.001721, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.322/2.322, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.88 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7157, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003024/0.7187, allocations: 1.522 MB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004191/0.7192, allocations: 190.1 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.7192, allocations: 0 / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.7193, allocations: 0 / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.7195, allocations: 17.39 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.7197, allocations: 53.78 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.7198, allocations: 60.53 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.7199, allocations: 6.75 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.72, allocations: 28.28 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.7201, allocations: 17.42 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.7201, allocations: 2.75 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.7201, allocations: 2.75 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.7202, allocations: 14.67 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.7202, allocations: 22.78 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.057e-05/0.7203, allocations: 27.55 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7203, allocations: 0 / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7203, allocations: 0 / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.7203, allocations: 4 kB / 0.9515 GB, free: 7.621 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.0005287/0.7209, allocations: 353.9 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7209, allocations: 9.625 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.721, allocations: 11.59 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.7211, allocations: 163.1 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7211, allocations: 1.75 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.7211, allocations: 5.75 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.7213, allocations: 79.88 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7213, allocations: 192 / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7213, allocations: 3.938 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7213, allocations: 1.375 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.7214, allocations: 17.61 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.7217, allocations: 285.2 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.7218, allocations: 42.89 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.7219, allocations: 19.81 kB / 0.9524 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.7219, allocations: 0 / 0.9524 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.7221, allocations: 58.39 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.7221, allocations: 1.375 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000223/0.7223, allocations: 74.31 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7224, allocations: 112.2 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.7224, allocations: 104.7 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.7224, allocations: 27.08 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.7225, allocations: 89.48 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.7225, allocations: 14.56 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.7225, allocations: 23.2 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.7226, allocations: 316.2 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.7226, allocations: 9.5 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.7227, allocations: 39.38 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.7227, allocations: 25.39 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7227, allocations: 0 / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.269e-05/0.7228, allocations: 59.69 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7229, allocations: 7.125 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7229, allocations: 5.219 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.7229, allocations: 0 / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.723, allocations: 9.891 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.723, allocations: 0 / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.7231, allocations: 13.02 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.7231, allocations: 1.281 kB / 0.9534 GB, free: 5.633 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 7.001e-05/0.7232, allocations: 118.2 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7232, allocations: 6.5 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.7232, allocations: 7.5 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7232, allocations: 5.516 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7233, allocations: 0 / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7233, allocations: 1.188 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.7234, allocations: 169.5 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7234, allocations: 7.938 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.7234, allocations: 6.656 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7234, allocations: 1.5 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7234, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7234, allocations: 1.312 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7234, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.7235, allocations: 91.67 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.7236, allocations: 95.47 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.7236, allocations: 9.469 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7237, allocations: 7.891 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.7238, allocations: 6.75 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.7238, allocations: 5.141 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.7238, allocations: 80.75 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7239, allocations: 0 / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001933/0.724, allocations: 13.94 kB / 0.954 GB, free: 4.98 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 0.0001154/0.7242, allocations: 107.8 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.7243, allocations: 28.98 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7243, allocations: 0 / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.7243, allocations: 17.2 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.7245, allocations: 10.66 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7248, allocations: 153 kB / 0.9543 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.725, allocations: 0.6839 MB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.725, allocations: 8.812 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.725, allocations: 1.094 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.002359/0.7274, allocations: 0.8325 MB / 0.9558 GB, free: 3.566 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/jenkins1/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