Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",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.001193/0.001193, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001861/0.001861, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 12 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7107, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001579/0.7124, allocations: 1.19 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.7127, allocations: 116.5 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.7127, allocations: 3.938 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.7128, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.7128, allocations: 15.92 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.713, allocations: 15.98 kB / 0.9824 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.7131, allocations: 47.78 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.7132, allocations: 4 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.7132, allocations: 19.92 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.7133, allocations: 27.89 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.7133, allocations: 0 / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.7134, allocations: 27.97 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.7134, allocations: 15.92 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.7135, allocations: 37.7 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.7136, allocations: 43.92 kB / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7136, allocations: 0 / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7136, allocations: 0 / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7136, allocations: 0 / 0.9827 GB, free: 4.68 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004952/0.7141, allocations: 389.5 kB / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7142, allocations: 12.03 kB / 0.983 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.7142, allocations: 34.56 kB / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.7142, allocations: 11.84 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7143, allocations: 171 kB / 0.9832 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7144, allocations: 3.984 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.7144, allocations: 0 / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.7147, allocations: 133.6 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7147, allocations: 0 / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.7147, allocations: 0 / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.7147, allocations: 11.98 kB / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.7151, allocations: 143.8 kB / 0.9835 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.7155, allocations: 348.5 kB / 0.9839 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.7157, allocations: 66.55 kB / 0.9839 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.7159, allocations: 52.91 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.7161, allocations: 113.1 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.7162, allocations: 42.48 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7162, allocations: 0 / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005218/0.7167, allocations: 165.5 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.7167, allocations: 51.41 kB / 0.9843 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.7169, allocations: 151 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.7169, allocations: 33.64 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.717, allocations: 123.7 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.717, allocations: 7.844 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.717, allocations: 4 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.7171, allocations: 318.8 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.7173, allocations: 63.89 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.7175, allocations: 132.5 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.7177, allocations: 67.95 kB / 0.9852 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7177, allocations: 4 kB / 0.9852 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004287/0.7181, allocations: 205.5 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7181, allocations: 7.984 kB / 0.9854 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7181, allocations: 4 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7182, allocations: 4 kB / 0.9854 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.7183, allocations: 39.92 kB / 0.9854 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7184, allocations: 7.969 kB / 0.9854 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.7185, allocations: 35.89 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.7185, allocations: 11.95 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/0.7186, allocations: 121.8 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.7186, allocations: 7.906 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.719, allocations: 146.1 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.719, allocations: 4.031 kB / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.719, allocations: 0 / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7191, allocations: 0 / 0.9858 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7192, allocations: 177.6 kB / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7192, allocations: 0 / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.7193, allocations: 19.98 kB / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.7193, allocations: 0 / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.7194, allocations: 4 kB / 0.986 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7194, allocations: 4 kB / 0.986 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7194, allocations: 0 / 0.986 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.7197, allocations: 231.3 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.7198, allocations: 81.02 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7198, allocations: 0 / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.7199, allocations: 23.92 kB / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.72, allocations: 11.98 kB / 0.9863 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.72, allocations: 4 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.7201, allocations: 109 kB / 0.9864 GB, free: 480 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7201, allocations: 4 kB / 0.9864 GB, free: 476 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002805/0.7204, allocations: 12 kB / 0.9864 GB, free: 464 kB / 0.7325 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 (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.0006499/0.721, allocations: 0.763 MB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.7214, allocations: 124.5 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7214, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.7216, allocations: 47.91 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.7218, allocations: 17.05 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.7223, allocations: 218.7 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.7226, allocations: 0.6965 MB / 0.9882 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.842e-05/0.7227, allocations: 28.41 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.7228, allocations: 19.44 kB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.7228, allocations: 0 / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.7347, allocations: 1.833 MB / 0.9901 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.7349, allocations: 188.8 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.548, allocations: 0 / 0.9902 GB, free: 12.5 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat does not exist to compare? outputFormat=mat