Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.0008913/0.0008913, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008879/0.0008883, allocations: 172.7 kB / 15.95 MB, free: 208 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.398 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.364/2.364, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003699, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7987, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001426/0.8002, allocations: 0.9494 MB / 0.9548 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.8013, allocations: 419.7 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.8014, allocations: 4 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.8014, allocations: 1.156 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.8015, allocations: 3.938 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/0.8024, allocations: 84.78 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.8025, allocations: 19.89 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.8026, allocations: 6.203 kB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.8026, allocations: 11.92 kB / 0.9553 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.8027, allocations: 11.61 kB / 0.9553 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.8027, allocations: 5.312 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.8031, allocations: 98.16 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.8031, allocations: 5.094 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.8032, allocations: 27.89 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.8034, allocations: 72.56 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.8034, allocations: 5.281 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8034, allocations: 0 / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8035, allocations: 0 / 0.9555 GB, free: 6.82 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.000556/0.804, allocations: 369.6 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.8041, allocations: 9.031 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.472e-05/0.8042, allocations: 44.08 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.8042, allocations: 9.328 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8043, allocations: 173.3 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.8044, allocations: 1 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.8044, allocations: 2.469 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8045, allocations: 44.89 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8045, allocations: 0 / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8046, allocations: 0 / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8046, allocations: 1.25 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.8046, allocations: 8.734 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.805, allocations: 249.3 kB / 0.9564 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.8051, allocations: 37.97 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.8051, allocations: 20.47 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.8052, allocations: 0 / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.8053, allocations: 56.97 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.8054, allocations: 1.219 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002697/0.8056, allocations: 84.81 kB / 0.9566 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.8057, allocations: 52.81 kB / 0.9566 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.8058, allocations: 110.3 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8058, allocations: 29.64 kB / 0.9567 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.8058, allocations: 85.23 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.8059, allocations: 6.969 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.8059, allocations: 4 kB / 0.9568 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.806, allocations: 319.9 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.806, allocations: 5.5 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.317e-05/0.806, allocations: 35.08 kB / 0.9572 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.8061, allocations: 12.03 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8061, allocations: 4 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001268/0.8062, allocations: 82.7 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8062, allocations: 5.406 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8063, allocations: 1.094 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.8063, allocations: 6.453 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.8064, allocations: 10.88 kB / 0.9573 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.8064, allocations: 2.062 kB / 0.9573 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.8064, allocations: 5.156 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.8064, allocations: 3.188 kB / 0.9573 GB, free: 4.914 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 9.133e-05/0.8065, allocations: 120.1 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.8066, allocations: 10.05 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.8066, allocations: 9.172 kB / 0.9574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.8066, allocations: 1.062 kB / 0.9574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8066, allocations: 3.953 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8066, allocations: 1.125 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.8069, allocations: 301.7 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8069, allocations: 1 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.8069, allocations: 2.188 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8069, allocations: 5.156 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.8069, allocations: 5.172 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8069, allocations: 3.938 kB / 0.9578 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.807, allocations: 0.9062 kB / 0.9578 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.8071, allocations: 159.2 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.8072, allocations: 83.52 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.8072, allocations: 0 / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.8073, allocations: 9.047 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.8073, allocations: 6.641 kB / 0.958 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.8073, allocations: 1.219 kB / 0.958 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.8074, allocations: 92.06 kB / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8074, allocations: 0 / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003743/0.8078, allocations: 35.3 kB / 0.9581 GB, free: 4.074 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.0007741/0.8085, allocations: 0.7689 MB / 0.9589 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.8087, allocations: 36.11 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8087, allocations: 0 / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.8087, allocations: 8.875 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.809, allocations: 14.34 kB / 0.9589 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.8097, allocations: 437.2 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.8099, allocations: 0.6801 MB / 0.96 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.8099, allocations: 3.312 kB / 0.96 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.81, allocations: 17.45 kB / 0.96 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.81, allocations: 0 / 0.96 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.8237, allocations: 1.845 MB / 0.9618 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.824, allocations: 236.8 kB / 0.9621 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.586, allocations: 5.375 kB / 0.9621 GB, free: 1.074 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat does not exist to compare? outputFormat=mat