Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.232/2.232, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.09 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5268, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001637/0.5285, allocations: 0.6982 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.529, allocations: 0.8047 MB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.5291, allocations: 9.125 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.5291, allocations: 0 / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.5292, allocations: 9.312 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.247e-05/0.5292, allocations: 9.453 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.5293, allocations: 46 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.5294, allocations: 8.297 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.5294, allocations: 21.55 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.227e-05/0.5295, allocations: 17.23 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5295, allocations: 8.219 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.5295, allocations: 2.688 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.5295, allocations: 13.23 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.5295, allocations: 19.98 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.798e-05/0.5296, allocations: 34.75 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5296, allocations: 0 / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5296, allocations: 1.375 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.5296, allocations: 0 / 0.9514 GB, free: 7.773 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003576/0.53, allocations: 368.9 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.53, allocations: 13.56 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.5301, allocations: 36.12 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.846e-05/0.5301, allocations: 2.312 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.5301, allocations: 175 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.5302, allocations: 1.75 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.5302, allocations: 5.688 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.5304, allocations: 67.66 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5304, allocations: 3.938 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.5304, allocations: 7.984 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5304, allocations: 0.9062 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.5307, allocations: 67.55 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.5309, allocations: 266.8 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.5311, allocations: 57.12 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5312, allocations: 42.14 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.5312, allocations: 0 / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.5313, allocations: 31.72 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.5313, allocations: 4 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00046/0.5317, allocations: 134 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.5318, allocations: 52.53 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.5318, allocations: 111.7 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.5318, allocations: 33.7 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.5318, allocations: 81.64 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.5319, allocations: 13.03 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.5319, allocations: 16.73 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.5319, allocations: 315.9 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.5321, allocations: 33.34 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.5322, allocations: 33.42 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.5324, allocations: 79.16 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5325, allocations: 0 / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002778/0.5327, allocations: 101.5 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5328, allocations: 5.906 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5328, allocations: 0 / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.5328, allocations: 0 / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5329, allocations: 15.14 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5329, allocations: 0 / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.533, allocations: 15.75 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.533, allocations: 4 kB / 0.9535 GB, free: 5.746 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.215e-05/0.533, allocations: 120.4 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.5331, allocations: 1.5 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.5331, allocations: 5.531 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5331, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.5331, allocations: 5.656 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5331, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.5332, allocations: 173.1 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5332, allocations: 3.938 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.5333, allocations: 14.55 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5333, allocations: 4.328 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5333, allocations: 1.188 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5333, allocations: 0 / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5333, allocations: 0 / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.5336, allocations: 204.6 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.5337, allocations: 82.52 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.5337, allocations: 0 / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.5338, allocations: 11.58 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.5338, allocations: 5.25 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5338, allocations: 5.172 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.5338, allocations: 82.12 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5338, allocations: 0 / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002023/0.5341, allocations: 10.22 kB / 0.9542 GB, free: 5.023 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004472/0.5345, allocations: 0.7358 MB / 0.9549 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.5348, allocations: 70.52 kB / 0.955 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5348, allocations: 0 / 0.955 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.535, allocations: 36.94 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.5352, allocations: 12.98 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.5355, allocations: 157.2 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.5356, allocations: 0.6834 MB / 0.9558 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.5357, allocations: 0.9375 kB / 0.9558 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.5357, allocations: 12.97 kB / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5357, allocations: 0 / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.834, allocations: 1.6 MB / 0.9574 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/8.208, allocations: 5.453 kB / 0.9574 GB, free: 2.496 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches