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.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.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.00717/0.007169, allocations: 100.5 kB / 15.73 MB, free: 6 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.001343/0.001343, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.94 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2447, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001661/0.2464, allocations: 0.6553 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.2472, allocations: 0.8159 MB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2473, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2473, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.2474, allocations: 3.938 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.2475, allocations: 7.984 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.2476, allocations: 27.92 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.2476, allocations: 4 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.2477, allocations: 7.938 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.2478, allocations: 11.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2478, allocations: 8 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.2478, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.2478, allocations: 3.938 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.2478, allocations: 15.97 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.2479, allocations: 19.91 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2479, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2479, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2479, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 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.0003869/0.2483, allocations: 334.4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2484, allocations: 16.08 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.2484, allocations: 30.75 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.2485, allocations: 4.844 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.2486, allocations: 168.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2486, allocations: 4.359 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2486, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2488, allocations: 50.19 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2488, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2488, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2488, allocations: 7.922 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.249, allocations: 35.97 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.2493, allocations: 240.9 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2494, allocations: 46.47 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.2495, allocations: 24.91 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2495, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2496, allocations: 34.56 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2496, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.2499, allocations: 77.64 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2499, allocations: 51.53 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.25, allocations: 109.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.25, allocations: 25.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.2501, allocations: 84.05 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2501, allocations: 8.562 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.2501, allocations: 9.719 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.2502, allocations: 322.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2503, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.2504, allocations: 15.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2506, allocations: 36.83 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2506, allocations: 3.938 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2508, allocations: 73.56 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2508, allocations: 9.969 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2508, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2508, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.2509, allocations: 19.92 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2509, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.251, allocations: 7.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.251, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 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 6.269e-05/0.2511, allocations: 110.1 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2511, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.2511, allocations: 11.12 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2511, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2511, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2511, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2513, allocations: 165.5 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2513, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.2514, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2514, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2514, allocations: 3.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2514, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2514, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.2516, allocations: 167.4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.2517, allocations: 85.02 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2517, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.2518, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.2518, allocations: 8.016 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2518, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2519, allocations: 79.28 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2519, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002481/0.2521, allocations: 8 kB / 1.092 GB, free: 13.56 MB / 0.8575 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.0005104/0.2526, allocations: 0.6968 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2529, allocations: 39.89 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2529, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.253, allocations: 15.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2533, allocations: 17.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.2537, allocations: 139.2 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.2539, allocations: 0.6729 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.254, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.254, allocations: 11.42 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.254, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.27, allocations: 1.277 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.87, allocations: 9.281 kB / 1.094 GB, free: 10.68 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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