Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001235/0.001235, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.179/1.179, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.13/2.13, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5925, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001704/0.5943, allocations: 0.7196 MB / 0.9498 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.595, allocations: 0.8023 MB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.595, allocations: 9.031 kB / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.5951, allocations: 0 / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.5951, allocations: 0 / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.5953, allocations: 10.61 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.5953, allocations: 21.31 kB / 0.9506 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.5954, allocations: 6.547 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.5955, allocations: 7.828 kB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.5955, allocations: 14.52 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5955, allocations: 1.25 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.5955, allocations: 1.219 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.5956, allocations: 5.281 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.5956, allocations: 9.156 kB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.887e-05/0.5957, allocations: 23.83 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5957, allocations: 1.094 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5957, allocations: 0 / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.145e-06/0.5957, allocations: 0 / 0.9507 GB, free: 7.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003277/0.596, allocations: 339.5 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5961, allocations: 10.28 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.5961, allocations: 34.69 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.5961, allocations: 6.25 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.5962, allocations: 165.7 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.5962, allocations: 1.844 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.5962, allocations: 1.625 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.5964, allocations: 49.89 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.5964, allocations: 7.875 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.5964, allocations: 0 / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5964, allocations: 0 / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.5966, allocations: 39.61 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.5968, allocations: 252.4 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.5969, allocations: 38.52 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.597, allocations: 23.66 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.597, allocations: 4 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.597, allocations: 32.22 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.597, allocations: 0 / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003044/0.5973, allocations: 87.91 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.5974, allocations: 52.75 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.5974, allocations: 102 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.5974, allocations: 26.61 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.5975, allocations: 85.22 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.5975, allocations: 9.062 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.5975, allocations: 16.41 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.5976, allocations: 314.8 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.5977, allocations: 17.7 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.5977, allocations: 21.72 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.5979, allocations: 35.33 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5979, allocations: 3.938 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.598, allocations: 67.88 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5981, allocations: 7.406 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5981, allocations: 5.219 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5981, allocations: 0 / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.5982, allocations: 9.766 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5982, allocations: 1.219 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.5982, allocations: 3.969 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.5982, allocations: 4 kB / 0.9524 GB, free: 6.09 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 (2): * Single equations (assignments): 2 * 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.221e-05/0.5983, allocations: 115.5 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.5983, allocations: 5.031 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.5983, allocations: 8.25 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5983, allocations: 0 / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5984, allocations: 0.9688 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5984, allocations: 0 / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.5985, allocations: 158.1 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5985, allocations: 1.25 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.5985, allocations: 9.578 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.5985, allocations: 4 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.5986, allocations: 5.438 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5986, allocations: 0 / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5986, allocations: 11.88 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.5988, allocations: 159 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.5988, allocations: 78.52 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.5988, allocations: 5.203 kB / 0.953 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.5989, allocations: 3.438 kB / 0.953 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.5989, allocations: 13.55 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5989, allocations: 0 / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.141e-05/0.5989, allocations: 78.91 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5989, allocations: 0 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002088/0.5992, allocations: 3.812 kB / 0.9531 GB, free: 5.402 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 (2): * Single equations (assignments): 2 * 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.000376/0.5995, allocations: 0.6994 MB / 0.9538 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.5997, allocations: 40.55 kB / 0.9538 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5997, allocations: 1.188 kB / 0.9538 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.5998, allocations: 19.17 kB / 0.9538 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.6001, allocations: 10 kB / 0.9538 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.6004, allocations: 133.4 kB / 0.954 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.6005, allocations: 0.678 MB / 0.9546 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.6006, allocations: 1.219 kB / 0.9546 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.6006, allocations: 11.44 kB / 0.9546 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6006, allocations: 1.312 kB / 0.9546 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.376/1.976, allocations: 1.079 MB / 0.9557 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.977, allocations: 210.5 kB / 0.9559 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.747, allocations: 0 / 0.9559 GB, free: 2.992 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches