Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.0007819/0.0007821, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008242/0.0008242, allocations: 168.7 kB / 15.95 MB, free: 204 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.336/1.336, allocations: 223.2 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 19.92 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6653, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1496/0.8149, allocations: 146.5 MB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.8165, allocations: 0.9111 MB / 1.098 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.8167, allocations: 11.94 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.8171, allocations: 107.2 kB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.8182, allocations: 461.9 kB / 1.098 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.8186, allocations: 191.2 kB / 1.099 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.8192, allocations: 0.6201 MB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.8195, allocations: 148.1 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.8199, allocations: 207.2 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.8201, allocations: 155.3 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.8201, allocations: 12 kB / 1.1 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.8207, allocations: 287.3 kB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.8208, allocations: 83.75 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.8209, allocations: 69.58 kB / 1.1 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.8213, allocations: 295.3 kB / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8213, allocations: 0 / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8213, allocations: 0 / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.8213, allocations: 0 / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001226/0.8225, allocations: 0.5571 MB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8226, allocations: 12.03 kB / 1.101 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.8226, allocations: 50.55 kB / 1.101 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.8229, allocations: 55.62 kB / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.8232, allocations: 266.5 kB / 1.101 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.8232, allocations: 12.33 kB / 1.101 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.8232, allocations: 23.94 kB / 1.101 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.8237, allocations: 246.9 kB / 1.102 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8237, allocations: 4 kB / 1.102 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.8238, allocations: 8 kB / 1.102 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.8238, allocations: 12 kB / 1.102 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.8244, allocations: 259.8 kB / 1.102 GB, free: 8.105 MB / 0.8575 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.001137/0.8255, allocations: 0.847 MB / 1.103 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.8258, allocations: 150.5 kB / 1.103 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.826, allocations: 128.8 kB / 1.103 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.8263, allocations: 182.2 kB / 1.103 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.8263, allocations: 34.56 kB / 1.103 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.8263, allocations: 0 / 1.103 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0008301/0.8272, allocations: 320.2 kB / 1.103 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.8272, allocations: 55.41 kB / 1.103 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.8274, allocations: 237 kB / 1.104 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.8275, allocations: 37.7 kB / 1.104 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.8276, allocations: 128.2 kB / 1.104 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.8276, allocations: 51.3 kB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.8276, allocations: 0 / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8278, allocations: 330.8 kB / 1.104 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.8279, allocations: 75.94 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.8282, allocations: 110.5 kB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.8283, allocations: 79.94 kB / 1.104 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8284, allocations: 0 / 1.104 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004582/0.8288, allocations: 225.2 kB / 1.105 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.8289, allocations: 5.562 kB / 1.105 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8289, allocations: 3.938 kB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8289, allocations: 7.953 kB / 1.105 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.8291, allocations: 40.03 kB / 1.105 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8291, allocations: 0 / 1.105 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.8293, allocations: 27.77 kB / 1.105 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.8293, allocations: 8 kB / 1.105 GB, free: 4.879 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0001191/0.8294, allocations: 141.8 kB / 1.105 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.8295, allocations: 27.7 kB / 1.105 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.8296, allocations: 33.84 kB / 1.105 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8296, allocations: 0 / 1.105 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8296, allocations: 3.953 kB / 1.105 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8296, allocations: 3.984 kB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.8306, allocations: 0.6835 MB / 1.106 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8306, allocations: 4 kB / 1.106 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.8308, allocations: 36.14 kB / 1.106 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.8308, allocations: 4 kB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.8308, allocations: 0 / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.8308, allocations: 7.984 kB / 1.106 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8308, allocations: 4 kB / 1.106 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.8313, allocations: 361.7 kB / 1.106 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.8314, allocations: 120.8 kB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.8314, allocations: 4 kB / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.8316, allocations: 15.98 kB / 1.106 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.8317, allocations: 11.98 kB / 1.106 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.8317, allocations: 7.938 kB / 1.106 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001584/0.8319, allocations: 180.5 kB / 1.106 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8319, allocations: 4 kB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003759/0.8323, allocations: 55.94 kB / 1.106 GB, free: 3.047 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001024/0.8333, allocations: 0.9527 MB / 1.107 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.8337, allocations: 183.4 kB / 1.108 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8338, allocations: 0 / 1.108 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.834, allocations: 104.4 kB / 1.108 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.8347, allocations: 120.2 kB / 1.108 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.8368, allocations: 1.373 MB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8371, allocations: 0.752 MB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.8374, allocations: 58.14 kB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.8375, allocations: 71.41 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of SimCode: time 1.242e-06/0.8375, allocations: 4 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.8544, allocations: 6.39 MB / 1.116 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.8546, allocations: 231.2 kB / 1.116 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.695, allocations: 3.938 kB / 1.116 GB, free: 8.867 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat