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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 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.001726/0.001726, allocations: 195.2 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.126/2.126, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5135, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001632/0.5152, allocations: 0.5757 MB / 0.9503 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.717e-05/0.5153, allocations: 0 / 0.9503 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.5153, allocations: 1.375 kB / 0.9503 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.5153, allocations: 0 / 0.9503 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.5153, allocations: 3.938 kB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.839e-05/0.5154, allocations: 0 / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.649e-05/0.5154, allocations: 2.75 kB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.5155, allocations: 1.375 kB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.5155, allocations: 11.94 kB / 0.9503 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.559e-05/0.5155, allocations: 0 / 0.9503 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5155, allocations: 1.375 kB / 0.9503 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.5156, allocations: 0 / 0.9503 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.5156, allocations: 0 / 0.9503 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.5156, allocations: 5.359 kB / 0.9503 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.043e-05/0.5156, allocations: 3.984 kB / 0.9503 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5157, allocations: 5.312 kB / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5157, allocations: 0 / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5157, allocations: 0 / 0.9503 GB, free: 8.762 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002235/0.5159, allocations: 314.3 kB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5159, allocations: 9.625 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.516, allocations: 36.06 kB / 0.9507 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.516, allocations: 8.828 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.5161, allocations: 161.8 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5161, allocations: 384 / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.5161, allocations: 1.75 kB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.559e-05/0.5162, allocations: 31.58 kB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.5162, allocations: 3.938 kB / 0.9509 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.5162, allocations: 4 kB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5162, allocations: 1.375 kB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.468e-05/0.5162, allocations: 1.375 kB / 0.9509 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.5165, allocations: 378.3 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.5165, allocations: 174.4 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.5165, allocations: 88.14 kB / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.5166, allocations: 75.28 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5166, allocations: 107.2 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.5166, allocations: 3.984 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.713e-05/0.5166, allocations: 31.06 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5167, allocations: 126.7 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.5167, allocations: 101.9 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.5168, allocations: 29.7 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.5168, allocations: 80.14 kB / 0.952 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.5168, allocations: 1.375 kB / 0.952 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.5168, allocations: 11.09 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.5169, allocations: 310.8 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.5169, allocations: 0 / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.5169, allocations: 1.375 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.259e-05/0.5169, allocations: 79.41 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.5169, allocations: 79.22 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.818e-05/0.517, allocations: 32.44 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.517, allocations: 80.78 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.517, allocations: 80.59 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.517, allocations: 154.6 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.448e-05/0.517, allocations: 80.69 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.5171, allocations: 159.9 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.5171, allocations: 75.28 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5171, allocations: 80.59 kB / 0.9532 GB, free: 5.633 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 (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 5.433e-05/0.5172, allocations: 269.6 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.5172, allocations: 106.3 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.5173, allocations: 121.2 kB / 0.9537 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5173, allocations: 176.3 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.5173, allocations: 183.1 kB / 0.954 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.5174, allocations: 181.6 kB / 0.9542 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.5175, allocations: 402.5 kB / 0.9546 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5175, allocations: 110.3 kB / 0.9547 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.5175, allocations: 110.4 kB / 0.9548 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.5176, allocations: 176.3 kB / 0.955 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.5176, allocations: 181.6 kB / 0.9551 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.067e-05/0.5176, allocations: 177.6 kB / 0.9553 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-05/0.5176, allocations: 181.6 kB / 0.9555 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.188e-05/0.5177, allocations: 314.5 kB / 0.9558 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.5177, allocations: 183.8 kB / 0.956 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.5178, allocations: 181.6 kB / 0.9561 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.5178, allocations: 110.3 kB / 0.9562 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.5179, allocations: 176.3 kB / 0.9564 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5179, allocations: 110.4 kB / 0.9565 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.5179, allocations: 78.03 kB / 0.9566 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5179, allocations: 3.938 kB / 0.9566 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002374/0.5181, allocations: 0 / 0.9566 GB, free: 1.977 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 (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.0001985/0.5183, allocations: 0.8121 MB / 0.9574 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.215e-05/0.5184, allocations: 1.375 kB / 0.9574 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5184, allocations: 0 / 0.9574 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.5184, allocations: 5.312 kB / 0.9574 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.5186, allocations: 457.1 kB / 0.9578 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.5195, allocations: 1.534 MB / 0.9593 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.5197, allocations: 0.6741 MB / 0.96 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.923e-06/0.5197, allocations: 3.984 kB / 0.96 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.5197, allocations: 8.812 kB / 0.96 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5198, allocations: 0 / 0.96 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.5388, allocations: 0.8935 MB / 0.9609 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.471, allocations: 12.81 kB / 0.9609 GB, free: 13.88 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > 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