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.001125/0.001125, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008478/0.008478, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.559/2.559, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 12 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.912, allocations: 142.4 MB / 0.9551 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001853/0.9139, allocations: 1.183 MB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.9144, allocations: 183.9 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.9144, allocations: 1.156 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.9144, allocations: 3.938 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.9147, allocations: 13.3 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.9149, allocations: 52.95 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.915, allocations: 52.56 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.9152, allocations: 11.44 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.9153, allocations: 23.62 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.9154, allocations: 17.73 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.9154, allocations: 2.5 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.9154, allocations: 2.438 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.9155, allocations: 10.83 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.9155, allocations: 48.67 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.9156, allocations: 41.22 kB / 0.9567 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9157, allocations: 5.438 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9157, allocations: 0 / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9157, allocations: 3.938 kB / 0.9567 GB, free: 6.43 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.0005234/0.9162, allocations: 342.2 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9163, allocations: 8.688 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.9163, allocations: 7.156 kB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.9164, allocations: 168 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.9164, allocations: 5.547 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.9165, allocations: 2.312 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.9166, allocations: 74.72 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.9166, allocations: 5.406 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.9166, allocations: 7.938 kB / 0.9573 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9167, allocations: 1.844 kB / 0.9573 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.9167, allocations: 12.62 kB / 0.9573 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.9171, allocations: 281.4 kB / 0.9575 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.381e-05/0.9172, allocations: 42.75 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.9172, allocations: 19.39 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9172, allocations: 3.984 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.9174, allocations: 67.77 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.9174, allocations: 0 / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002217/0.9176, allocations: 70.52 kB / 0.9577 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.9177, allocations: 111.8 kB / 0.9578 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.9178, allocations: 105.5 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9178, allocations: 30.86 kB / 0.958 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.9179, allocations: 82.3 kB / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.9179, allocations: 8.844 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.9179, allocations: 15.88 kB / 0.9581 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.918, allocations: 319.9 kB / 0.9584 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.918, allocations: 8.844 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.9181, allocations: 40.62 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.9181, allocations: 24.36 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9181, allocations: 0 / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.496e-05/0.9182, allocations: 60.53 kB / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9183, allocations: 5.469 kB / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9183, allocations: 64 / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9183, allocations: 5 kB / 0.9585 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.9183, allocations: 9.406 kB / 0.9585 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9184, allocations: 0 / 0.9585 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.9185, allocations: 15.61 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.9185, allocations: 1.219 kB / 0.9585 GB, free: 4.453 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.185e-05/0.9186, allocations: 122.2 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.9186, allocations: 2.25 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.9186, allocations: 8.625 kB / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.9186, allocations: 0 / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9186, allocations: 1.031 kB / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9186, allocations: 0 / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/0.9187, allocations: 182.6 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9187, allocations: 0 / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.9188, allocations: 3.625 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9188, allocations: 0 / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.9188, allocations: 0 / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9188, allocations: 1.75 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9188, allocations: 0 / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.9189, allocations: 94.67 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.919, allocations: 91.22 kB / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.919, allocations: 2.281 kB / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9191, allocations: 18.61 kB / 0.959 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.9191, allocations: 5.344 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.9191, allocations: 2.656 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.9192, allocations: 84.36 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9192, allocations: 0 / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002171/0.9194, allocations: 15.28 kB / 0.9591 GB, free: 3.809 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.0001191/0.9195, allocations: 102.5 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.9197, allocations: 33.92 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9197, allocations: 0 / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.9197, allocations: 13.19 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.9199, allocations: 6.312 kB / 0.9593 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.9202, allocations: 144.3 kB / 0.9594 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.9204, allocations: 0.6794 MB / 0.9601 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.9204, allocations: 8.391 kB / 0.9601 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.9205, allocations: 9.625 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/0.9205, allocations: 1.031 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003185/0.9237, allocations: 0.8386 MB / 0.9609 GB, free: 2.43 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