Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",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.0052/0.0052, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001417/0.001417, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3323, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003506/0.3359, allocations: 1.599 MB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.337, allocations: 0.5035 MB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.3371, allocations: 4 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3372, allocations: 7.875 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.3373, allocations: 11.81 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3377, allocations: 39.94 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.3378, allocations: 87.7 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.338, allocations: 36.22 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3381, allocations: 43.78 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.3382, allocations: 39.83 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3383, allocations: 8 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.3383, allocations: 16 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.3384, allocations: 19.92 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.3385, allocations: 39.72 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3386, allocations: 95.86 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3387, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3387, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3387, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.0006189/0.3393, allocations: 407 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3394, allocations: 12.03 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.3394, allocations: 38.69 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3395, allocations: 12.84 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.3397, allocations: 194.9 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3397, allocations: 4.375 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3398, allocations: 8.312 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.3401, allocations: 111.7 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3401, allocations: 0 / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3401, allocations: 4 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3401, allocations: 8 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.3404, allocations: 95.88 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.3411, allocations: 388.5 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.3413, allocations: 62.53 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3414, allocations: 52.95 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.3414, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3415, allocations: 30.56 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3415, allocations: 4 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004898/0.342, allocations: 169.5 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.342, allocations: 59.28 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3422, allocations: 133.8 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3422, allocations: 25.7 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.3423, allocations: 108.2 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3423, allocations: 15.86 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3423, allocations: 21.7 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3425, allocations: 322.8 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3426, allocations: 35.97 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3427, allocations: 39.97 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.343, allocations: 88.8 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.343, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002943/0.3433, allocations: 133.5 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3433, allocations: 4 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3433, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3433, allocations: 3.938 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3435, allocations: 19.98 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3435, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.3436, allocations: 11.98 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3436, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 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 (6): * Single equations (assignments): 6 * 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 0.000102/0.3437, allocations: 117.8 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.3438, allocations: 11.94 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.3441, allocations: 154.6 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3442, allocations: 3.938 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3442, allocations: 3.938 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3442, allocations: 0 / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3444, allocations: 197.6 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3444, allocations: 7.984 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3445, allocations: 15.98 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3445, allocations: 4 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3446, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3446, allocations: 3.938 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3446, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3449, allocations: 227.4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.345, allocations: 85.06 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.345, allocations: 0 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3451, allocations: 15.92 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3452, allocations: 7.984 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3452, allocations: 4 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.3453, allocations: 101.1 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3453, allocations: 0 / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002384/0.3455, allocations: 19.95 kB / 1.172 GB, free: 0.8672 MB / 0.92 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 (6): * Single equations (assignments): 6 * 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.0007157/0.3462, allocations: 0.7747 MB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.3466, allocations: 99.98 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3466, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3467, allocations: 48.28 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3469, allocations: 11.94 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.349, allocations: 1.62 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3494, allocations: 0.7002 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.3495, allocations: 15.97 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.3496, allocations: 27.42 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.3496, allocations: 0 / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.13/2.48, allocations: 2.002 MB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/11.26, allocations: 10.36 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches