Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.00179/0.00179, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.494/1.494, allocations: 222.9 MB / 240.6 MB, free: 13.67 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.231/2.231, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.3 kB / 0.8127 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2486, allocations: 140.4 MB / 0.9498 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002117/0.2507, allocations: 0.7241 MB / 0.9505 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.2517, allocations: 0.806 MB / 0.9513 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.2518, allocations: 4 kB / 0.9513 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.2518, allocations: 7.938 kB / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.2519, allocations: 0 / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.2521, allocations: 4 kB / 0.9513 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.2521, allocations: 23.92 kB / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2522, allocations: 7.984 kB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.2523, allocations: 11.98 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.2524, allocations: 11.94 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2524, allocations: 0 / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-06/0.2524, allocations: 8 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2524, allocations: 3.984 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.2525, allocations: 11.94 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.699e-05/0.2525, allocations: 15.91 kB / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2525, allocations: 0 / 0.9514 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2526, allocations: 4 kB / 0.9514 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.2526, allocations: 0 / 0.9514 GB, free: 7.508 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004826/0.2531, allocations: 337.3 kB / 0.9517 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2531, allocations: 8.031 kB / 0.9517 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.2532, allocations: 8.938 kB / 0.9517 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2533, allocations: 168.2 kB / 0.9519 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2533, allocations: 384 / 0.9519 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2533, allocations: 4.359 kB / 0.9519 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.2535, allocations: 50.19 kB / 0.9519 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2535, allocations: 4.125 kB / 0.9519 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2535, allocations: 3.938 kB / 0.952 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2535, allocations: 7.984 kB / 0.952 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2537, allocations: 35.95 kB / 0.952 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.2541, allocations: 244.9 kB / 0.9522 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2542, allocations: 46.47 kB / 0.9523 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.2543, allocations: 24.91 kB / 0.9523 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2543, allocations: 4 kB / 0.9523 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2544, allocations: 30.56 kB / 0.9523 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2544, allocations: 0 / 0.9523 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000347/0.2547, allocations: 77.64 kB / 0.9524 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2548, allocations: 51.41 kB / 0.9525 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.2549, allocations: 106 kB / 0.9526 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2549, allocations: 33.64 kB / 0.9526 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2549, allocations: 84.14 kB / 0.9527 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.255, allocations: 3.906 kB / 0.9527 GB, free: 6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.255, allocations: 13.72 kB / 0.9527 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2551, allocations: 314.8 kB / 0.953 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.2552, allocations: 15.97 kB / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.2553, allocations: 19.98 kB / 0.953 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2554, allocations: 36.83 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2555, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.2557, allocations: 69.59 kB / 0.9531 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2557, allocations: 4 kB / 0.9531 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2557, allocations: 96 / 0.9531 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2557, allocations: 4 kB / 0.9531 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.2558, allocations: 15.92 kB / 0.9531 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2558, allocations: 0 / 0.9531 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.2559, allocations: 7.984 kB / 0.9531 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2559, allocations: 0 / 0.9531 GB, free: 5.484 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.213e-05/0.256, allocations: 115.8 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.256, allocations: 7.844 kB / 0.9533 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.2562, allocations: 72.78 kB / 0.9533 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2562, allocations: 4 kB / 0.9533 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2562, allocations: 0 / 0.9533 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2563, allocations: 0 / 0.9533 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2564, allocations: 165.5 kB / 0.9535 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2564, allocations: 4 kB / 0.9535 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.2565, allocations: 4 kB / 0.9535 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2565, allocations: 4 kB / 0.9535 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.2565, allocations: 7.953 kB / 0.9535 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2565, allocations: 4 kB / 0.9535 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2565, allocations: 0 / 0.9535 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2568, allocations: 163.5 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2568, allocations: 77.11 kB / 0.9538 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2568, allocations: 0 / 0.9538 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2569, allocations: 8.031 kB / 0.9538 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.257, allocations: 3.984 kB / 0.9538 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.257, allocations: 4 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.257, allocations: 79.28 kB / 0.9538 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.257, allocations: 4 kB / 0.9538 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000215/0.2572, allocations: 0 / 0.9538 GB, free: 4.672 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001425/0.2574, allocations: 99.25 kB / 0.9539 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2576, allocations: 43.89 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2576, allocations: 4 kB / 0.954 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.2577, allocations: 15.98 kB / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.258, allocations: 11.88 kB / 0.954 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.2583, allocations: 131.3 kB / 0.9541 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2585, allocations: 0.6844 MB / 0.9548 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.2586, allocations: 7.438 kB / 0.9548 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.2586, allocations: 0 / 0.9548 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of Templates: time 0.001739/0.2603, allocations: 0.553 MB / 0.9554 GB, free: 3.066 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches