Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_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.0007853/0.0007853, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008608/0.0008609, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004987, allocations: 21.28 kB / 0.6739 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0008961/0.2214, allocations: 398.7 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.2222, allocations: 0.7971 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.2223, allocations: 0 / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.2223, allocations: 0 / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.2224, allocations: 7.938 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.2225, allocations: 3.984 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.2226, allocations: 19.94 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.2227, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.2228, allocations: 4 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.2228, allocations: 15.91 kB / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2228, allocations: 0 / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.2229, allocations: 4 kB / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.2229, allocations: 0 / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2229, allocations: 29.7 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.216e-05/0.223, allocations: 11.97 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.223, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.223, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.223, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 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.0004067/0.2234, allocations: 351.5 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2234, allocations: 12.03 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.2235, allocations: 30.56 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.2235, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.739e-05/0.2236, allocations: 167 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2236, allocations: 4 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2237, allocations: 7.875 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2238, allocations: 57.67 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2238, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2239, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2239, allocations: 0 / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.224, allocations: 43.97 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.2244, allocations: 248.9 kB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2245, allocations: 46.5 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.2246, allocations: 28.91 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2246, allocations: 4 kB / 0.7897 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2246, allocations: 34.55 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2246, allocations: 0 / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000303/0.2249, allocations: 97.56 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.225, allocations: 51.41 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.225, allocations: 105.8 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2251, allocations: 25.83 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.2251, allocations: 88.14 kB / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.2251, allocations: 7.844 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.2251, allocations: 0 / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2253, allocations: 318.8 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.2253, allocations: 23.98 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.2254, allocations: 23.98 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.2255, allocations: 19.98 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2255, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.2257, allocations: 77.72 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2257, allocations: 8 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2257, allocations: 0 / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2257, allocations: 0 / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2258, allocations: 11.98 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2258, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.2259, allocations: 19.95 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2259, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/0.2259, allocations: 113.8 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.226, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.226, allocations: 7.125 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.226, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.226, allocations: 3.938 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.226, allocations: 0 / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2262, allocations: 161.6 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2262, allocations: 4.188 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2262, allocations: 8 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2262, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2262, allocations: 7.984 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2263, allocations: 7.969 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2263, allocations: 4 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.2265, allocations: 171.5 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2265, allocations: 88.94 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2265, allocations: 7.938 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.2266, allocations: 4 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.2266, allocations: 8.016 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2267, allocations: 4 kB / 0.7911 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.2267, allocations: 79.28 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2267, allocations: 0 / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002011/0.2269, allocations: 4 kB / 0.7912 GB, free: 7.652 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004712/0.2274, allocations: 0.7046 MB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2276, allocations: 55.92 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2276, allocations: 0 / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.2277, allocations: 27.92 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.2279, allocations: 6.953 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.2283, allocations: 138.5 kB / 0.7921 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2285, allocations: 0.677 MB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.2286, allocations: 0 / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.2286, allocations: 11.38 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2286, allocations: 0 / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.2389, allocations: 1.008 MB / 0.7937 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.2391, allocations: 188.8 kB / 0.7939 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.79, allocations: 3.938 kB / 0.7939 GB, free: 4.82 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) Environment - environmentSimulation: