Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_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.001798/0.001798, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001805/0.001805, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.107/2.107, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 72.11 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6145, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003495/0.618, allocations: 1.646 MB / 0.9508 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007393/0.6188, allocations: 0.5002 MB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.6189, allocations: 1.312 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.619, allocations: 7.922 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.619, allocations: 14.44 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.6193, allocations: 35.45 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.6194, allocations: 77.41 kB / 0.9515 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.6196, allocations: 45.72 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.6196, allocations: 43.41 kB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.6197, allocations: 40.03 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.6198, allocations: 5.406 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.6198, allocations: 9.188 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.6199, allocations: 26.81 kB / 0.9516 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.6199, allocations: 40.55 kB / 0.9517 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.6202, allocations: 84.8 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6202, allocations: 5.062 kB / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6202, allocations: 0 / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.6202, allocations: 0 / 0.9517 GB, free: 7.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005591/0.6208, allocations: 405 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.6208, allocations: 12.94 kB / 0.9521 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.6209, allocations: 38.44 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.6209, allocations: 8.906 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.6211, allocations: 199.3 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6211, allocations: 7.844 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.6211, allocations: 8.062 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.6214, allocations: 110.9 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6214, allocations: 1.5 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6214, allocations: 3.984 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.6214, allocations: 1.312 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.6217, allocations: 100.7 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.6222, allocations: 379.6 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.6224, allocations: 59.92 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.6225, allocations: 49.39 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.6226, allocations: 15.31 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.6226, allocations: 31.44 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6226, allocations: 0 / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004256/0.623, allocations: 164.2 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.623, allocations: 59.34 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.6231, allocations: 134.8 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.6232, allocations: 25.7 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.6232, allocations: 104.7 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.6232, allocations: 22.91 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.6233, allocations: 22.33 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.6233, allocations: 317.1 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.6234, allocations: 41.56 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6236, allocations: 42.56 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.6238, allocations: 94.08 kB / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6238, allocations: 0 / 0.9541 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.624, allocations: 125.3 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.624, allocations: 10.03 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.624, allocations: 0 / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6241, allocations: 3.938 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.6242, allocations: 17.08 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6242, allocations: 3.984 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.6243, allocations: 13.95 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.6243, allocations: 2.406 kB / 0.9543 GB, free: 4.957 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 (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 7.432e-05/0.6244, allocations: 124 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.6245, allocations: 11.44 kB / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.6248, allocations: 135.7 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6248, allocations: 5.188 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6248, allocations: 0 / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6248, allocations: 5.469 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.625, allocations: 209.2 kB / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.625, allocations: 0 / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.6251, allocations: 25.42 kB / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6251, allocations: 0 / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.6251, allocations: 1.094 kB / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6251, allocations: 5.281 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6251, allocations: 0 / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6254, allocations: 229 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.6254, allocations: 83.27 kB / 0.9551 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.6255, allocations: 5.312 kB / 0.9551 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.6256, allocations: 13.08 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.6256, allocations: 6.891 kB / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.6256, allocations: 1.469 kB / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.6257, allocations: 104.2 kB / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6257, allocations: 0 / 0.9552 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.6259, allocations: 24.28 kB / 0.9552 GB, free: 4.094 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 (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.0004946/0.6264, allocations: 0.7674 MB / 0.956 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.6267, allocations: 97.62 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6267, allocations: 1.188 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.6268, allocations: 56.25 kB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.6271, allocations: 5.406 kB / 0.9561 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.6285, allocations: 1.624 MB / 0.9577 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.6287, allocations: 0.7028 MB / 0.9584 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.6288, allocations: 16.88 kB / 0.9584 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6288, allocations: 26.89 kB / 0.9584 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.6288, allocations: 4 kB / 0.9584 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.6402, allocations: 1.815 MB / 0.9602 GB, free: 256 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.6404, allocations: 200.3 kB / 0.9604 GB, free: 16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.328, allocations: 5.062 kB / 0.9604 GB, free: 15.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches