Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001394, allocations: 107.7 kB / 16.27 MB, free: 6.402 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.001567/0.001567, allocations: 191 kB / 17.2 MB, free: 5.938 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.3 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.23/2.23, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 69.38 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2504, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002721/0.2532, allocations: 1.485 MB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.254, allocations: 470.8 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.254, allocations: 0 / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.2541, allocations: 3.938 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.2543, allocations: 23.84 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.307e-05/0.2544, allocations: 15.98 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2546, allocations: 55.78 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2547, allocations: 15.94 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.2548, allocations: 19.97 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.2548, allocations: 19.92 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2549, allocations: 4 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.2549, allocations: 7.938 kB / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.2549, allocations: 11.98 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.255, allocations: 19.88 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.2551, allocations: 48.08 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2551, allocations: 3.938 kB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2551, allocations: 0 / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2551, allocations: 0 / 0.9524 GB, free: 6.652 MB / 0.7325 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.0005563/0.2557, allocations: 359.3 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2557, allocations: 8.031 kB / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2557, allocations: 4.938 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2559, allocations: 176.3 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2559, allocations: 384 / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2559, allocations: 384 / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.256, allocations: 57.98 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2561, allocations: 0 / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2561, allocations: 4 kB / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2561, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.2562, allocations: 19.94 kB / 0.953 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.2566, allocations: 268.9 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2568, allocations: 42.56 kB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.2568, allocations: 28.92 kB / 0.9533 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2568, allocations: 7.938 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.257, allocations: 67.33 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.257, allocations: 0 / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002671/0.2573, allocations: 81.59 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2574, allocations: 55.39 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.2575, allocations: 105.9 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2575, allocations: 33.69 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2576, allocations: 88.08 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.2576, allocations: 19.8 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.2576, allocations: 17.72 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2578, allocations: 322.7 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.2579, allocations: 12.25 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.2579, allocations: 19.98 kB / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.258, allocations: 28.86 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.258, allocations: 0 / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.2581, allocations: 65.69 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2581, allocations: 8 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2581, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2581, allocations: 3.938 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.2582, allocations: 11.94 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2582, allocations: 0 / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.2583, allocations: 7.891 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2583, allocations: 4 kB / 0.9542 GB, free: 4.535 MB / 0.7325 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.277e-05/0.2584, allocations: 117.8 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.2584, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.2585, allocations: 3.969 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2585, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2585, allocations: 0 / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2585, allocations: 3.984 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2586, allocations: 173.6 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2586, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.2587, allocations: 4 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2587, allocations: 0 / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2587, allocations: 4 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2587, allocations: 3.984 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2587, allocations: 4.188 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.2588, allocations: 100.9 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2589, allocations: 81.11 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.2589, allocations: 4 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.259, allocations: 3.984 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.259, allocations: 4 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.259, allocations: 3.938 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.2591, allocations: 99.56 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2591, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001877/0.2593, allocations: 15.94 kB / 0.9549 GB, free: 3.812 MB / 0.7325 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001192/0.2594, allocations: 99.25 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2595, allocations: 43.86 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2596, allocations: 0 / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.2596, allocations: 19.98 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.2598, allocations: 7.938 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2601, allocations: 167.8 kB / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2604, allocations: 0.6844 MB / 0.9558 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2604, allocations: 7.438 kB / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of SimCode: time 2.916e-06/0.2604, allocations: 0 / 0.9559 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of Templates: time 0.002134/0.2626, allocations: 0.7499 MB / 0.9566 GB, free: 1.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches