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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001855/0.001855, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001185/0.001185, allocations: 191.5 kB / 17.31 MB, free: 5.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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.16 kB / 0.8141 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002177/0.3336, allocations: 0.5834 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.446e-05/0.3337, allocations: 0 / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.3337, allocations: 4 kB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.3338, allocations: 4 kB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.3338, allocations: 3.938 kB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.298e-05/0.3338, allocations: 0 / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.3339, allocations: 0 / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.334, allocations: 7.984 kB / 0.9517 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.334, allocations: 4 kB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.334, allocations: 0 / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.334, allocations: 0 / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-06/0.334, allocations: 0 / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.334, allocations: 0 / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.3341, allocations: 3.938 kB / 0.9517 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.992e-05/0.3341, allocations: 11.98 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3341, allocations: 0 / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3342, allocations: 0 / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3342, allocations: 0 / 0.9518 GB, free: 7.391 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.0003232/0.3345, allocations: 323.5 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3345, allocations: 8.031 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.3346, allocations: 0.9375 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3347, allocations: 160.4 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3347, allocations: 384 / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3347, allocations: 8.375 kB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.3348, allocations: 30.2 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3348, allocations: 192 / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3349, allocations: 3.938 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3349, allocations: 0 / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.3349, allocations: 4 kB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3353, allocations: 375.5 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3354, allocations: 185 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.3355, allocations: 80.14 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.3355, allocations: 83.27 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.3356, allocations: 105.8 kB / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3356, allocations: 0 / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.801e-05/0.3356, allocations: 33.7 kB / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.3357, allocations: 126.7 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.3358, allocations: 89.86 kB / 0.9533 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3359, allocations: 29.7 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.3359, allocations: 84.14 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.3359, allocations: 0 / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.3359, allocations: 13.66 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3361, allocations: 326.8 kB / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.3361, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.3361, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.3361, allocations: 79.28 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/0.3362, allocations: 75.28 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.652e-05/0.3362, allocations: 31.75 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.3363, allocations: 83.28 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/0.3363, allocations: 79.22 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.868e-05/0.3364, allocations: 154.6 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.3365, allocations: 79.28 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-05/0.3365, allocations: 166.5 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.3366, allocations: 83.27 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.3367, allocations: 79.22 kB / 0.9546 GB, free: 4.238 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.0001575/0.3368, allocations: 266.3 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.3369, allocations: 105 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.337, allocations: 108.1 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/0.337, allocations: 184.2 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-05/0.3371, allocations: 176.3 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.11e-05/0.3372, allocations: 184.2 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3375, allocations: 413.2 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/0.3375, allocations: 101 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3376, allocations: 108.9 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.3377, allocations: 176.3 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-05/0.3377, allocations: 180.2 kB / 0.9565 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.75e-05/0.3378, allocations: 180.6 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.715e-05/0.3379, allocations: 188.2 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3381, allocations: 307.8 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.3382, allocations: 186 kB / 0.9573 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.3383, allocations: 176.3 kB / 0.9575 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3384, allocations: 109 kB / 0.9576 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.3385, allocations: 184.2 kB / 0.9578 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.3385, allocations: 101 kB / 0.9579 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3386, allocations: 75.28 kB / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3386, allocations: 0 / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000282/0.3389, allocations: 4 kB / 0.958 GB, free: 0.5781 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.0002208/0.3391, allocations: 178.6 kB / 0.9581 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.3392, allocations: 11.88 kB / 0.9581 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3392, allocations: 0 / 0.9581 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3392, allocations: 0 / 0.9581 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3396, allocations: 459.6 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.3399, allocations: 164.2 kB / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3401, allocations: 0.6805 MB / 0.9594 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.753e-06/0.3402, allocations: 0 / 0.9594 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.3402, allocations: 7.438 kB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3402, allocations: 0 / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of Templates: time 0.001957/0.3421, allocations: 164.8 kB / 0.9596 GB, free: 14.87 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 -s gbode -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