Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.0008776/0.0008777, allocations: 86.56 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.0009346/0.0009346, 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.344 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.41/2.41, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005402, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8121, allocations: 142.3 MB / 0.9538 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001361/0.8135, allocations: 0.9432 MB / 0.9548 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.8144, allocations: 403.1 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.8144, allocations: 0 / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.8145, allocations: 0 / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.8145, allocations: 5.062 kB / 0.9551 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.815, allocations: 78.92 kB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.8151, allocations: 19.89 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.8151, allocations: 5.141 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.8151, allocations: 7.812 kB / 0.9553 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.8152, allocations: 14.8 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.8152, allocations: 1.469 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.8154, allocations: 92.03 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.8154, allocations: 6.219 kB / 0.9554 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.8155, allocations: 32.22 kB / 0.9554 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.8156, allocations: 66.86 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8156, allocations: 0 / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8157, allocations: 1.125 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.8157, allocations: 0 / 0.9555 GB, free: 6.859 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.0003967/0.8161, allocations: 368 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8161, allocations: 9.312 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.8162, allocations: 39.73 kB / 0.9559 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.8162, allocations: 6.578 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/0.8163, allocations: 160.5 kB / 0.956 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.8163, allocations: 1.312 kB / 0.956 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.8163, allocations: 5.5 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.8164, allocations: 44.67 kB / 0.9561 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8165, allocations: 0 / 0.9561 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8165, allocations: 0 / 0.9561 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8165, allocations: 5.312 kB / 0.9561 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.8165, allocations: 12.23 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.8168, allocations: 251.6 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.8169, allocations: 37.53 kB / 0.9564 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.817, allocations: 16.08 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.817, allocations: 1.031 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.8171, allocations: 65.02 kB / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 2.464e-06/0.8171, allocations: 3.984 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000215/0.8174, allocations: 77.5 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.8174, allocations: 56.56 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.8175, allocations: 98.73 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.8175, allocations: 26.67 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.8175, allocations: 84.98 kB / 0.9568 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.8175, allocations: 22.11 kB / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.8175, allocations: 0 / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.8176, allocations: 316 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.8176, allocations: 9.297 kB / 0.9571 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.8177, allocations: 31.09 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.8177, allocations: 16.19 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8177, allocations: 4 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.817e-05/0.8178, allocations: 74.14 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8178, allocations: 6.25 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8178, allocations: 0 / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8179, allocations: 6.328 kB / 0.9572 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.8179, allocations: 11.73 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8179, allocations: 1.219 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.818, allocations: 8.969 kB / 0.9573 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.818, allocations: 3.188 kB / 0.9573 GB, free: 4.957 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.151e-05/0.8181, allocations: 112.9 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.8181, allocations: 5.781 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.8181, allocations: 7.562 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8181, allocations: 1 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8181, allocations: 4.984 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8181, allocations: 0 / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.8183, allocations: 300.9 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8184, allocations: 1 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.8184, allocations: 10.97 kB / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8184, allocations: 0 / 0.9577 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.8184, allocations: 9.469 kB / 0.9577 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8184, allocations: 160 / 0.9577 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8184, allocations: 1.312 kB / 0.9577 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.8185, allocations: 158.6 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.8186, allocations: 82.02 kB / 0.9579 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.8186, allocations: 9.109 kB / 0.9579 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.8187, allocations: 8.953 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.8187, allocations: 1.156 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.8187, allocations: 2.25 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.8187, allocations: 82.12 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8187, allocations: 1.219 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002995/0.819, allocations: 34.64 kB / 0.9581 GB, free: 4.133 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.0006074/0.8196, allocations: 0.7691 MB / 0.9588 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.8198, allocations: 36.36 kB / 0.9588 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8198, allocations: 0 / 0.9588 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.8198, allocations: 13.36 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.82, allocations: 9.047 kB / 0.9589 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.8207, allocations: 419.2 kB / 0.9593 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.8209, allocations: 0.6784 MB / 0.9599 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.821, allocations: 6.547 kB / 0.9599 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.821, allocations: 10.16 kB / 0.9599 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.821, allocations: 0 / 0.9599 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.834, allocations: 1.772 MB / 0.9617 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.8342, allocations: 219.8 kB / 0.9619 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.56, allocations: 0 / 0.9619 GB, free: 1.184 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat