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.00114/0.00114, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.344 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.402/2.402, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/0.7779, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00142/0.7793, allocations: 1.178 MB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000364/0.7797, allocations: 183.6 kB / 0.957 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.7798, allocations: 1 kB / 0.957 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.7798, allocations: 3.938 kB / 0.957 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.78, allocations: 16.98 kB / 0.9571 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.7802, allocations: 57.39 kB / 0.9571 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.7803, allocations: 52.75 kB / 0.9572 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.7804, allocations: 6.719 kB / 0.9572 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.7804, allocations: 27.56 kB / 0.9572 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.7805, allocations: 13.7 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.7805, allocations: 2.438 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.7806, allocations: 2.344 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.7806, allocations: 10.52 kB / 0.9572 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.7806, allocations: 52.48 kB / 0.9573 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.156e-05/0.7807, allocations: 35.53 kB / 0.9573 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7807, allocations: 4 kB / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7807, allocations: 0 / 0.9573 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7807, allocations: 1.094 kB / 0.9573 GB, free: 6.441 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.0004086/0.7812, allocations: 337.1 kB / 0.9576 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.7812, allocations: 10 kB / 0.9576 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.7812, allocations: 7.094 kB / 0.9577 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.7813, allocations: 166.9 kB / 0.9578 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7814, allocations: 5.812 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.7814, allocations: 6.875 kB / 0.9578 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.7815, allocations: 71.09 kB / 0.9579 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.7815, allocations: 4.125 kB / 0.9579 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7816, allocations: 5.469 kB / 0.9579 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7816, allocations: 0 / 0.9579 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.7816, allocations: 16.73 kB / 0.9579 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.7819, allocations: 282.3 kB / 0.9582 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.782, allocations: 47.05 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.7821, allocations: 15.11 kB / 0.9582 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.7821, allocations: 1.375 kB / 0.9582 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.7822, allocations: 61.61 kB / 0.9583 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7823, allocations: 5.25 kB / 0.9583 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000195/0.7825, allocations: 74.48 kB / 0.9584 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.7825, allocations: 107.8 kB / 0.9585 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.7826, allocations: 105.5 kB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.7826, allocations: 31.02 kB / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.7826, allocations: 85.14 kB / 0.9587 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.7827, allocations: 14.17 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.7827, allocations: 10.66 kB / 0.9587 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.7827, allocations: 324 kB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.7828, allocations: 10.12 kB / 0.959 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.7828, allocations: 31.62 kB / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.7829, allocations: 29.2 kB / 0.9591 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7829, allocations: 0 / 0.9591 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.437e-05/0.783, allocations: 64.72 kB / 0.9592 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.783, allocations: 8.094 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.783, allocations: 1 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7831, allocations: 4.031 kB / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.7831, allocations: 9.328 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7831, allocations: 1 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.7832, allocations: 11.11 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7833, allocations: 2.062 kB / 0.9592 GB, free: 4.465 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 6.52e-05/0.7833, allocations: 117.7 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.7833, allocations: 2.062 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.7834, allocations: 3.5 kB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7834, allocations: 5.125 kB / 0.9593 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7834, allocations: 1.031 kB / 0.9593 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.7834, allocations: 0 / 0.9593 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.7835, allocations: 178.3 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7835, allocations: 0 / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.7835, allocations: 5.219 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7835, allocations: 0 / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7835, allocations: 0 / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7835, allocations: 3.984 kB / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7835, allocations: 0 / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.7837, allocations: 95.03 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.7837, allocations: 91.84 kB / 0.9597 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.7837, allocations: 1.219 kB / 0.9597 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7838, allocations: 11.95 kB / 0.9597 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.7839, allocations: 5.359 kB / 0.9597 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7839, allocations: 1.906 kB / 0.9597 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.7839, allocations: 92.97 kB / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7839, allocations: 0 / 0.9598 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001946/0.7841, allocations: 9.906 kB / 0.9598 GB, free: 3.824 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.0001061/0.7842, allocations: 103.8 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.7844, allocations: 34.2 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7844, allocations: 0 / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.7844, allocations: 21.28 kB / 0.9599 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.7846, allocations: 6.812 kB / 0.96 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.7849, allocations: 166 kB / 0.9601 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.785, allocations: 0.6784 MB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.785, allocations: 11.06 kB / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.785, allocations: 0 / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.001971/0.787, allocations: 0.8226 MB / 0.9616 GB, free: 2.41 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