Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001259/0.001259, allocations: 108 kB / 15.6 MB, free: 132 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.001231/0.001231, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.183/2.183, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5131, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001708/0.5148, allocations: 0.8905 MB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.5155, allocations: 0.8832 MB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.5156, allocations: 2.719 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.5156, allocations: 19.8 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.5157, allocations: 13.17 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.5158, allocations: 56.33 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.516, allocations: 142.1 kB / 0.9517 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.5161, allocations: 67.22 kB / 0.9518 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.5162, allocations: 48.69 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.5162, allocations: 59.03 kB / 0.9519 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.5163, allocations: 13.19 kB / 0.9519 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.5163, allocations: 13.97 kB / 0.9519 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5163, allocations: 31.3 kB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.5164, allocations: 62.86 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.5165, allocations: 138.8 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5165, allocations: 0 / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5165, allocations: 1.188 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.5165, allocations: 0 / 0.9521 GB, free: 7.336 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004635/0.517, allocations: 442 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.517, allocations: 10.09 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.517, allocations: 51.02 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.5171, allocations: 21.06 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5172, allocations: 204.6 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.5172, allocations: 13.48 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5173, allocations: 13.59 kB / 0.9528 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.5175, allocations: 148.1 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5175, allocations: 3.938 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5175, allocations: 5.344 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5176, allocations: 4.438 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.5178, allocations: 132.1 kB / 0.9531 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.5184, allocations: 491.8 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5186, allocations: 88.42 kB / 0.9537 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.5187, allocations: 50.42 kB / 0.9537 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.5187, allocations: 2.594 kB / 0.9537 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.5187, allocations: 32 kB / 0.9537 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.5187, allocations: 0 / 0.9537 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003936/0.5191, allocations: 165.9 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.5191, allocations: 56.81 kB / 0.954 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.5193, allocations: 187.7 kB / 0.9541 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5193, allocations: 27.05 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5193, allocations: 117.3 kB / 0.9543 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.5194, allocations: 27.44 kB / 0.9543 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.5194, allocations: 30.55 kB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.5195, allocations: 326 kB / 0.9546 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.5196, allocations: 46.31 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.5197, allocations: 46.31 kB / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.5199, allocations: 91.89 kB / 0.9548 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5199, allocations: 3.938 kB / 0.9548 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002577/0.5202, allocations: 142.1 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.5202, allocations: 5.781 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.5202, allocations: 4 kB / 0.955 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5202, allocations: 0 / 0.955 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5203, allocations: 32.33 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5203, allocations: 2.531 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.5204, allocations: 21.86 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5205, allocations: 2.219 kB / 0.955 GB, free: 4.836 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 (13): * Single equations (assignments): 13 * 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.13e-05/0.5205, allocations: 125.1 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5205, allocations: 13.38 kB / 0.9552 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.5208, allocations: 142.2 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5208, allocations: 1.188 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5208, allocations: 3.984 kB / 0.9553 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5209, allocations: 5.344 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.5213, allocations: 461.5 kB / 0.9557 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5213, allocations: 1.125 kB / 0.9557 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.5214, allocations: 20.7 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5214, allocations: 2.469 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5214, allocations: 1.219 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5214, allocations: 1.25 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5214, allocations: 1.156 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5217, allocations: 250.1 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.5217, allocations: 89.95 kB / 0.9561 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5217, allocations: 6.297 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.5219, allocations: 20.48 kB / 0.9561 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.5219, allocations: 12.84 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.5219, allocations: 3.312 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.522, allocations: 152 kB / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.522, allocations: 0 / 0.9563 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002262/0.5222, allocations: 22.75 kB / 0.9563 GB, free: 3.703 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0004001/0.5227, allocations: 0.7748 MB / 0.9571 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.5229, allocations: 115.9 kB / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5229, allocations: 3.938 kB / 0.9572 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.523, allocations: 48.84 kB / 0.9572 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.5233, allocations: 21.81 kB / 0.9572 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5249, allocations: 1.879 MB / 0.9591 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.525, allocations: 0.7045 MB / 0.9598 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.525, allocations: 22.16 kB / 0.9598 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.5251, allocations: 34.53 kB / 0.9598 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.5251, allocations: 0 / 0.9598 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.079/2.604, allocations: 2.764 MB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/12.34, allocations: 9.125 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches