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.001982/0.001981, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.002404/0.002404, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.733/1.733, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8946, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003543/0.8982, allocations: 1.459 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005375/0.8988, allocations: 195.5 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.8988, allocations: 1.031 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.8989, allocations: 9.062 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.8992, allocations: 23.7 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.8995, allocations: 50.69 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.8997, allocations: 56 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.8998, allocations: 5.703 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.8999, allocations: 26.92 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.9, allocations: 23.2 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.9, allocations: 4.719 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.9001, allocations: 8.688 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.9001, allocations: 12.14 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.9002, allocations: 21.95 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.9003, allocations: 53.55 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9004, allocations: 0.6875 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9004, allocations: 0 / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9004, allocations: 0.6875 kB / 1.091 GB, free: 4.25 MB / 0.8575 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.0005834/0.901, allocations: 349.1 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.901, allocations: 13.41 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.9011, allocations: 4.203 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.9012, allocations: 172.2 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.9013, allocations: 2.266 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.9013, allocations: 7.156 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.9015, allocations: 74.2 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9015, allocations: 192 / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.9015, allocations: 5.312 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9015, allocations: 5.281 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.9016, allocations: 15.84 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.902, allocations: 282.3 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.9022, allocations: 46.56 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.9022, allocations: 16.75 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.9023, allocations: 1.406 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.9025, allocations: 62.59 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.9025, allocations: 0 / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.9028, allocations: 77.59 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.9028, allocations: 104.5 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.9029, allocations: 104.6 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.9029, allocations: 26.77 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.903, allocations: 86.41 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.903, allocations: 15.36 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.9031, allocations: 21.61 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.9031, allocations: 317.8 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.9032, allocations: 10.25 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.9033, allocations: 36.16 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.9033, allocations: 25.48 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9034, allocations: 1.094 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.9035, allocations: 66.23 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.9035, allocations: 6.797 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9035, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.9036, allocations: 5.109 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.9037, allocations: 6 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9037, allocations: 1.031 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.9038, allocations: 8.453 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.9038, allocations: 1.75 kB / 1.092 GB, free: 2.352 MB / 0.8575 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 8.734e-05/0.9039, allocations: 122.3 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.904, allocations: 7.062 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.904, allocations: 8.5 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.904, allocations: 1.609 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.904, allocations: 1 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.904, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.9042, allocations: 176.9 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9042, allocations: 1.125 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.9042, allocations: 6.516 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9042, allocations: 0.9062 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9042, allocations: 1.609 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9042, allocations: 4.656 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9042, allocations: 1.062 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.9044, allocations: 93.16 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.9045, allocations: 87.89 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.9045, allocations: 1.938 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.9046, allocations: 14.11 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.9047, allocations: 8.328 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.9047, allocations: 6.016 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.9048, allocations: 82.03 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9048, allocations: 0 / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002651/0.905, allocations: 15.64 kB / 1.093 GB, free: 1.73 MB / 0.8575 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.0001205/0.9052, allocations: 100.6 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.9053, allocations: 32.34 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9053, allocations: 1.062 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.9054, allocations: 14.7 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.9056, allocations: 17.08 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.906, allocations: 139.2 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.9061, allocations: 0.6842 MB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.9062, allocations: 14.91 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.9062, allocations: 0 / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of Templates: time 0.00339/0.9096, allocations: 0.8191 MB / 1.095 GB, free: 0.7188 MB / 0.8575 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/jenkins1/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