Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_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_9_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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001306/0.001307, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.734, allocations: 140.3 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002636/0.7367, allocations: 1.512 MB / 0.9504 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.7371, allocations: 190.1 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.7371, allocations: 0 / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.7372, allocations: 0 / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.7374, allocations: 13.44 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.7376, allocations: 57.42 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.7377, allocations: 64.52 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.7378, allocations: 2.75 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.7379, allocations: 24.3 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.7379, allocations: 17.42 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.738, allocations: 2.75 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.738, allocations: 6.688 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.738, allocations: 18.66 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.7381, allocations: 14.81 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.7382, allocations: 54.19 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7382, allocations: 1.375 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7382, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.7382, allocations: 0 / 0.9508 GB, free: 7.707 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.0004907/0.7387, allocations: 349.1 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7388, allocations: 9.062 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.7388, allocations: 10.47 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.7389, allocations: 168.5 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7389, allocations: 1.688 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.7389, allocations: 5.625 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.7391, allocations: 79.72 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7391, allocations: 192 / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7391, allocations: 3.938 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7391, allocations: 1.156 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.7392, allocations: 17.45 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.7396, allocations: 281.5 kB / 0.9517 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.501e-05/0.7397, allocations: 42.91 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.7397, allocations: 16.28 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.7397, allocations: 0 / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.7399, allocations: 62.39 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7399, allocations: 4 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.7401, allocations: 75.11 kB / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7402, allocations: 104.1 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.7402, allocations: 109.7 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.7402, allocations: 29.7 kB / 0.9522 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.7403, allocations: 82.42 kB / 0.9522 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.7403, allocations: 13.19 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.7403, allocations: 20.77 kB / 0.9523 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.7404, allocations: 322.8 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.7404, allocations: 13.61 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.7405, allocations: 33.75 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.7405, allocations: 23.8 kB / 0.9526 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7406, allocations: 0 / 0.9526 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001069/0.7407, allocations: 63.94 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7407, allocations: 5.656 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7407, allocations: 4 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.7407, allocations: 5.312 kB / 0.9527 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.7408, allocations: 5.125 kB / 0.9527 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.7408, allocations: 7.922 kB / 0.9527 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.741, allocations: 10.36 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.741, allocations: 1.25 kB / 0.9527 GB, free: 5.719 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 9.403e-05/0.7411, allocations: 117.6 kB / 0.9529 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.7411, allocations: 5.062 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.7411, allocations: 8.797 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7411, allocations: 5.5 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7412, allocations: 0 / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7412, allocations: 0 / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.7413, allocations: 174.4 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7413, allocations: 0 / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.7413, allocations: 10.7 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7413, allocations: 1.219 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7413, allocations: 0 / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7414, allocations: 1.281 kB / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7414, allocations: 0 / 0.953 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.7415, allocations: 94.67 kB / 0.9531 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.7416, allocations: 91.8 kB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.7416, allocations: 5.078 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.7417, allocations: 5.906 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.7418, allocations: 9.422 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7418, allocations: 1.406 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.959e-05/0.7418, allocations: 89.95 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7419, allocations: 0 / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002157/0.7421, allocations: 14.22 kB / 0.9533 GB, free: 5.066 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.0002014/0.7423, allocations: 108.6 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.7425, allocations: 30.39 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7425, allocations: 0 / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.7425, allocations: 14.17 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.7427, allocations: 7.156 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.7432, allocations: 133.2 kB / 0.9536 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.7435, allocations: 0.6803 MB / 0.9543 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.7436, allocations: 8.172 kB / 0.9543 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.7436, allocations: 10.19 kB / 0.9543 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7436, allocations: 0 / 0.9543 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.003926/0.7476, allocations: 0.8433 MB / 0.9551 GB, free: 3.695 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches