Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.001693/0.001693, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002255/0.002255, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.199/2.199, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6918, allocations: 140.4 MB / 0.9493 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002078/0.694, allocations: 0.7605 MB / 0.95 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.6947, allocations: 0.806 MB / 0.9508 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.6947, allocations: 0 / 0.9508 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.6948, allocations: 5.375 kB / 0.9508 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.6948, allocations: 7.922 kB / 0.9508 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.971e-05/0.6949, allocations: 10.73 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.695, allocations: 40.42 kB / 0.9509 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.6952, allocations: 9.484 kB / 0.9509 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.6952, allocations: 21.42 kB / 0.9509 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.6953, allocations: 17.42 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.6953, allocations: 4.125 kB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.6953, allocations: 8.125 kB / 0.9509 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.6954, allocations: 11.92 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.6954, allocations: 20.05 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.6955, allocations: 38.69 kB / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6955, allocations: 1.375 kB / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6955, allocations: 0 / 0.951 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6955, allocations: 0 / 0.951 GB, free: 7.875 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.0004719/0.696, allocations: 368.9 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6961, allocations: 13.62 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.6961, allocations: 36.12 kB / 0.9514 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6961, allocations: 2.312 kB / 0.9514 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.6962, allocations: 167 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6963, allocations: 1.75 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.6963, allocations: 5.688 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.6965, allocations: 72.2 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6965, allocations: 3.938 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.6966, allocations: 4 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.6966, allocations: 1.375 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.6968, allocations: 67.61 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.6972, allocations: 262.7 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.6974, allocations: 65.12 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.6975, allocations: 39.38 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.6975, allocations: 3.984 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.6976, allocations: 35.69 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6976, allocations: 4 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.6981, allocations: 126 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6981, allocations: 56.98 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.6982, allocations: 103.5 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.6982, allocations: 25.7 kB / 0.9524 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.6982, allocations: 97.55 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.6983, allocations: 9.031 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6983, allocations: 16.44 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.6984, allocations: 317.3 kB / 0.9528 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.6985, allocations: 28.34 kB / 0.9528 GB, free: 6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.6986, allocations: 38.42 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.6989, allocations: 71.27 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6989, allocations: 0 / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002812/0.6992, allocations: 101.3 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6992, allocations: 9.094 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6992, allocations: 0 / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6992, allocations: 1.188 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6993, allocations: 18.39 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6993, allocations: 0 / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.6994, allocations: 11.67 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.6994, allocations: 1.344 kB / 0.9531 GB, free: 5.859 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 6.381e-05/0.6995, allocations: 115.1 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.6995, allocations: 10.67 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.6999, allocations: 104.3 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6999, allocations: 0 / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6999, allocations: 9.312 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6999, allocations: 0 / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.7001, allocations: 168.5 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7001, allocations: 4.969 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.7002, allocations: 18.03 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7002, allocations: 1.562 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.7002, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7002, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7002, allocations: 1.844 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.7005, allocations: 203.5 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.7006, allocations: 78.05 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.7006, allocations: 5.109 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7007, allocations: 10.97 kB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.7007, allocations: 10.25 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.7007, allocations: 0 / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.7008, allocations: 86.83 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 4 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002136/0.701, allocations: 9.562 kB / 0.9539 GB, free: 5.059 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.0005259/0.7016, allocations: 0.7395 MB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.7019, allocations: 67.83 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7019, allocations: 0 / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.702, allocations: 32.03 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.7023, allocations: 13.77 kB / 0.9547 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.7028, allocations: 163 kB / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.7029, allocations: 0.6868 MB / 0.9555 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.7029, allocations: 2 kB / 0.9555 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.703, allocations: 17.38 kB / 0.9555 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.703, allocations: 0 / 0.9555 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.7143, allocations: 1.41 MB / 0.9569 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.7145, allocations: 204.1 kB / 0.9571 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.511, allocations: 8.594 kB / 0.9571 GB, free: 2.438 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches