Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.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.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity",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.001225/0.001225, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001187/0.001187, allocations: 190 kB / 16.25 MB, free: 6.645 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.43 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.246/2.246, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 0.8689 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/0.5915, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.197/0.7885, allocations: 165.2 MB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.7915, allocations: 1.556 MB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.7919, allocations: 11.94 kB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.7923, allocations: 127.2 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.7939, allocations: 0.6692 MB / 1.181 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.7955, allocations: 0.5571 MB / 1.181 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.7963, allocations: 0.7254 MB / 1.182 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.7967, allocations: 229 kB / 1.182 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.7973, allocations: 346.7 kB / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.7976, allocations: 239 kB / 1.183 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.7976, allocations: 31.94 kB / 1.183 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.7989, allocations: 0.8999 MB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.7991, allocations: 103.7 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.7992, allocations: 167.2 kB / 1.184 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.8004, allocations: 0.7869 MB / 1.184 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8005, allocations: 3.938 kB / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8005, allocations: 0 / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.8005, allocations: 0 / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001123/0.8016, allocations: 0.6622 MB / 1.185 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8017, allocations: 12.03 kB / 1.185 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.8018, allocations: 62.53 kB / 1.185 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.8029, allocations: 151.4 kB / 1.185 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.8033, allocations: 314.6 kB / 1.186 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.8034, allocations: 20.5 kB / 1.186 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.8034, allocations: 24 kB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.8039, allocations: 285.9 kB / 1.186 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8039, allocations: 3.938 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.8039, allocations: 8 kB / 1.186 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.804, allocations: 8 kB / 1.186 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.8043, allocations: 196.9 kB / 1.186 GB, free: 4.609 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.8057, allocations: 1.227 MB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.806, allocations: 158.4 kB / 1.188 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.8062, allocations: 96.8 kB / 1.188 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.8069, allocations: 299.2 kB / 1.188 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.8069, allocations: 38.5 kB / 1.188 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.8069, allocations: 4 kB / 1.188 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0008003/0.8077, allocations: 290.8 kB / 1.188 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.8078, allocations: 55.41 kB / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.8081, allocations: 324.5 kB / 1.189 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8082, allocations: 25.7 kB / 1.189 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.8083, allocations: 196 kB / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.8084, allocations: 55.2 kB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.8085, allocations: 49.61 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8086, allocations: 334.8 kB / 1.189 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.8088, allocations: 71.95 kB / 1.189 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.809, allocations: 127.1 kB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.8094, allocations: 193 kB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8094, allocations: 0 / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004743/0.8099, allocations: 254.9 kB / 1.19 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8099, allocations: 8 kB / 1.19 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8099, allocations: 7.969 kB / 1.19 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8099, allocations: 4 kB / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.8101, allocations: 43.92 kB / 1.19 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8101, allocations: 4 kB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.8104, allocations: 43.75 kB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.8104, allocations: 8 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001521/0.8106, allocations: 161.7 kB / 1.19 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.8106, allocations: 27.62 kB / 1.19 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.8111, allocations: 230.2 kB / 1.19 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8111, allocations: 8 kB / 1.19 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8111, allocations: 0 / 1.19 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8112, allocations: 3.984 kB / 1.19 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.8123, allocations: 0.7068 MB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8123, allocations: 4 kB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.8125, allocations: 39.92 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.8125, allocations: 0 / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.8125, allocations: 11.88 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.8125, allocations: 7.984 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8125, allocations: 7.938 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.8132, allocations: 449.2 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.8133, allocations: 120.7 kB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.8133, allocations: 7.938 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.8135, allocations: 19.92 kB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.8136, allocations: 19.98 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.8136, allocations: 15.98 kB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002133/0.8138, allocations: 227 kB / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8138, allocations: 0 / 1.192 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003946/0.8142, allocations: 76 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.001283/0.8155, allocations: 1.043 MB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.816, allocations: 184.9 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.816, allocations: 0 / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.8162, allocations: 100.2 kB / 1.193 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.8171, allocations: 166.7 kB / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.8208, allocations: 3.109 MB / 1.196 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.8211, allocations: 0.7872 MB / 1.197 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.8214, allocations: 62.92 kB / 1.197 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.8215, allocations: 87.41 kB / 1.197 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.8215, allocations: 7.938 kB / 1.197 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/0.9504, allocations: 8.765 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.9507, allocations: 236.5 kB / 1.206 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.934, allocations: 4 kB / 1.206 GB, free: 15.64 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches