Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.00121/0.00121, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001636/0.001636, allocations: 177.3 kB / 15.94 MB, free: 228 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.481/1.481, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.498/2.498, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005029, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7922, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001234/0.7935, allocations: 0.9388 MB / 0.9545 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.7943, allocations: 385.7 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.7943, allocations: 0.9688 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.7943, allocations: 0 / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.7944, allocations: 1.375 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.7948, allocations: 84.62 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.7949, allocations: 9.016 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.795, allocations: 1.312 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.795, allocations: 16.17 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.7951, allocations: 10.75 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.7951, allocations: 1.375 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.7953, allocations: 73.05 kB / 0.9551 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.7953, allocations: 8.984 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.7953, allocations: 28.52 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.7955, allocations: 70.98 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.7955, allocations: 0 / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.995e-06/0.7955, allocations: 1.156 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.7955, allocations: 0 / 0.9552 GB, free: 6.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004017/0.7959, allocations: 372.7 kB / 0.9555 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.796, allocations: 12.39 kB / 0.9555 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.7961, allocations: 31.97 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.7961, allocations: 5.359 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.7962, allocations: 160.6 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.7962, allocations: 1.375 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7962, allocations: 2.844 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.7963, allocations: 47.27 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7964, allocations: 0 / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.7964, allocations: 5.5 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7964, allocations: 0 / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.7964, allocations: 7.641 kB / 0.9558 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.7967, allocations: 253.1 kB / 0.956 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.7968, allocations: 33.41 kB / 0.956 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.7968, allocations: 5.031 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.797, allocations: 60.39 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.797, allocations: 0 / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002261/0.7972, allocations: 72.89 kB / 0.9562 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.7973, allocations: 57.09 kB / 0.9562 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.7973, allocations: 107.5 kB / 0.9563 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.7974, allocations: 25.7 kB / 0.9564 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.7974, allocations: 85.64 kB / 0.9564 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.7974, allocations: 17.34 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.7974, allocations: 1.031 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.7975, allocations: 319.9 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.7975, allocations: 4.938 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.7976, allocations: 39.25 kB / 0.9568 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.7976, allocations: 14.94 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7976, allocations: 1.094 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.772e-05/0.7977, allocations: 69.73 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7977, allocations: 6.062 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.7977, allocations: 1.094 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7978, allocations: 1.094 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.7978, allocations: 19.17 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7978, allocations: 2.031 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.7979, allocations: 9.062 kB / 0.9569 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.7979, allocations: 7.438 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.272e-05/0.798, allocations: 113.9 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.798, allocations: 5.125 kB / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.798, allocations: 4.938 kB / 0.9571 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.798, allocations: 1.125 kB / 0.9571 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.798, allocations: 7.953 kB / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.798, allocations: 0 / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.7982, allocations: 305.8 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7983, allocations: 4 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.7983, allocations: 3.469 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7983, allocations: 0 / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.7983, allocations: 1.094 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7983, allocations: 3.953 kB / 0.9574 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7983, allocations: 1 kB / 0.9574 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.7984, allocations: 162.7 kB / 0.9575 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.7985, allocations: 82.7 kB / 0.9576 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.7985, allocations: 5.125 kB / 0.9576 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.7986, allocations: 0 / 0.9576 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.7986, allocations: 17.88 kB / 0.9576 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7986, allocations: 1.969 kB / 0.9576 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.7986, allocations: 78.41 kB / 0.9577 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7986, allocations: 0 / 0.9577 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003014/0.7989, allocations: 39.11 kB / 0.9577 GB, free: 4.16 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005884/0.7995, allocations: 0.7695 MB / 0.9585 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.7997, allocations: 30.89 kB / 0.9585 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7997, allocations: 1.281 kB / 0.9585 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.7997, allocations: 17.16 kB / 0.9585 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.7999, allocations: 8.953 kB / 0.9585 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.8004, allocations: 0.7935 MB / 0.9593 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.8006, allocations: 0.6813 MB / 0.96 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.8006, allocations: 5.328 kB / 0.96 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.8006, allocations: 10.31 kB / 0.96 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8006, allocations: 0 / 0.96 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.8124, allocations: 1.744 MB / 0.9617 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.8126, allocations: 213.9 kB / 0.9619 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.594, allocations: 4 kB / 0.9619 GB, free: 0.7969 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat does not exist to compare? outputFormat=mat