Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 105 kB / 15.99 MB, free: 6.344 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.001739/0.001739, allocations: 195.5 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.2 MB / 0.665 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 69.31 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002031/0.2605, allocations: 0.6429 MB / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.255e-05/0.2606, allocations: 0 / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.2606, allocations: 0 / 0.9504 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.2607, allocations: 4 kB / 0.9504 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.2607, allocations: 0 / 0.9504 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.614e-05/0.2608, allocations: 4 kB / 0.9504 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.2608, allocations: 4 kB / 0.9504 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.2609, allocations: 0 / 0.9504 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.2609, allocations: 7.922 kB / 0.9504 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.2609, allocations: 7.984 kB / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2609, allocations: 0 / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-06/0.2609, allocations: 0 / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.261, allocations: 0 / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.261, allocations: 3.938 kB / 0.9505 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.679e-05/0.261, allocations: 4 kB / 0.9505 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.261, allocations: 3.938 kB / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2611, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2611, allocations: 0 / 0.9505 GB, free: 8.527 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003072/0.2614, allocations: 319.5 kB / 0.9508 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2614, allocations: 12.03 kB / 0.9508 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.2614, allocations: 0.9375 kB / 0.9508 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2616, allocations: 160.4 kB / 0.9509 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2616, allocations: 384 / 0.9509 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2616, allocations: 4.375 kB / 0.9509 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.001e-05/0.2617, allocations: 38.19 kB / 0.951 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2617, allocations: 192 / 0.951 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2617, allocations: 3.938 kB / 0.951 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2617, allocations: 0 / 0.951 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.2617, allocations: 0 / 0.951 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2621, allocations: 383.5 kB / 0.9513 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.2621, allocations: 177.1 kB / 0.9515 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.2622, allocations: 80.17 kB / 0.9516 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2622, allocations: 79.28 kB / 0.9517 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.2623, allocations: 113.9 kB / 0.9518 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.405e-06/0.2623, allocations: 0 / 0.9518 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.846e-05/0.2624, allocations: 35.75 kB / 0.9518 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.2624, allocations: 126.7 kB / 0.9519 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.2625, allocations: 97.86 kB / 0.952 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2625, allocations: 25.7 kB / 0.952 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.2626, allocations: 80.14 kB / 0.9521 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.2626, allocations: 0 / 0.9521 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.2626, allocations: 13.72 kB / 0.9521 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2627, allocations: 319 kB / 0.9524 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.2627, allocations: 0 / 0.9524 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.2627, allocations: 0 / 0.9524 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.2628, allocations: 75.28 kB / 0.9525 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.2628, allocations: 75.28 kB / 0.9526 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.984e-05/0.2629, allocations: 37.58 kB / 0.9526 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.2629, allocations: 79.28 kB / 0.9527 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.2629, allocations: 75.28 kB / 0.9528 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-05/0.263, allocations: 166.5 kB / 0.9529 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.491e-05/0.263, allocations: 75.28 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-05/0.2631, allocations: 150.6 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.2632, allocations: 83.2 kB / 0.9532 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2632, allocations: 79.28 kB / 0.9533 GB, free: 5.391 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 (0): * Single equations (assignments): 0 * 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 0.0001164/0.2633, allocations: 264.3 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.2634, allocations: 108.9 kB / 0.9536 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.2635, allocations: 115.8 kB / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/0.2635, allocations: 180.2 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.939e-05/0.2636, allocations: 180.2 kB / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-05/0.2637, allocations: 184.2 kB / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.2639, allocations: 417.1 kB / 0.9547 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/0.2639, allocations: 105 kB / 0.9548 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.264, allocations: 101 kB / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.264, allocations: 180.5 kB / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.2641, allocations: 180.3 kB / 0.9552 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.036e-05/0.2642, allocations: 184.2 kB / 0.9554 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-05/0.2642, allocations: 188.3 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2644, allocations: 303.7 kB / 0.9559 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.2645, allocations: 182.1 kB / 0.956 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.2645, allocations: 188.2 kB / 0.9562 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.2646, allocations: 105 kB / 0.9563 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2647, allocations: 180.2 kB / 0.9565 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.2647, allocations: 101 kB / 0.9566 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.2648, allocations: 79.28 kB / 0.9567 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2648, allocations: 0 / 0.9567 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002495/0.265, allocations: 0 / 0.9567 GB, free: 1.715 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 (0): * Single equations (assignments): 0 * 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.000165/0.2652, allocations: 186.6 kB / 0.9568 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.676e-05/0.2652, allocations: 0 / 0.9568 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2653, allocations: 0 / 0.9568 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.2653, allocations: 3.938 kB / 0.9568 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2656, allocations: 459.6 kB / 0.9573 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.2659, allocations: 182 kB / 0.9575 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2661, allocations: 0.6766 MB / 0.9581 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.2662, allocations: 7.438 kB / 0.9581 GB, free: 148 kB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.2662, allocations: 4 kB / 0.9581 GB, free: 144 kB / 0.7325 GB Notification: Performance of Templates: time 0.001443/0.2676, allocations: 319.6 kB / 0.9584 GB, free: 15.83 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches