Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_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.001034/0.001034, allocations: 86.72 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.001055/0.001056, 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.507/1.507, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.644/2.644, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003899, allocations: 15.94 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7916, allocations: 146.8 MB / 0.9811 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001263/0.7929, allocations: 0.9333 MB / 0.982 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.7936, allocations: 397.3 kB / 0.9824 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.7937, allocations: 3.938 kB / 0.9824 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.7937, allocations: 0 / 0.9824 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.7938, allocations: 3.938 kB / 0.9824 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.7942, allocations: 91.77 kB / 0.9825 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.7942, allocations: 12 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.7943, allocations: 3.984 kB / 0.9825 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.7943, allocations: 11.94 kB / 0.9825 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.7944, allocations: 11.97 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.7944, allocations: 0 / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.7946, allocations: 95.78 kB / 0.9826 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.7946, allocations: 8 kB / 0.9827 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.7946, allocations: 25.7 kB / 0.9827 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.7948, allocations: 63.89 kB / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7948, allocations: 0 / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7948, allocations: 0 / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.7948, allocations: 4 kB / 0.9827 GB, free: 4.516 MB / 0.7325 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.0004621/0.7953, allocations: 375.3 kB / 0.9831 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7953, allocations: 8.031 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.7954, allocations: 38.5 kB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.7954, allocations: 4 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.7956, allocations: 170.9 kB / 0.9833 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7956, allocations: 0 / 0.9833 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.7956, allocations: 4 kB / 0.9833 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.7957, allocations: 49.64 kB / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7957, allocations: 0 / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.7957, allocations: 0 / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7957, allocations: 0 / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.7958, allocations: 7.984 kB / 0.9834 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.7961, allocations: 252.8 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.7962, allocations: 42.56 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.7962, allocations: 12.81 kB / 0.9837 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.7962, allocations: 4 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.7963, allocations: 59.48 kB / 0.9837 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.7964, allocations: 0 / 0.9837 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001811/0.7965, allocations: 73.62 kB / 0.9838 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.7966, allocations: 55.41 kB / 0.9838 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.7967, allocations: 105.8 kB / 0.9839 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.7967, allocations: 25.7 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.7967, allocations: 84.14 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.7967, allocations: 11.8 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.7968, allocations: 8 kB / 0.9841 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.7968, allocations: 310.8 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.7969, allocations: 8 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.7969, allocations: 35.42 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.7969, allocations: 15.94 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7969, allocations: 0 / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.7971, allocations: 81.73 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7971, allocations: 9.406 kB / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7971, allocations: 0 / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7971, allocations: 0 / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.7972, allocations: 12.06 kB / 0.9845 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7972, allocations: 11.88 kB / 0.9845 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.7972, allocations: 3.906 kB / 0.9845 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.7972, allocations: 7.984 kB / 0.9845 GB, free: 2.422 MB / 0.7325 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 6.539e-05/0.7973, allocations: 109.8 kB / 0.9847 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.7973, allocations: 7.953 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.7973, allocations: 7.5 kB / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.7973, allocations: 0 / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7973, allocations: 0 / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7974, allocations: 4 kB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.7976, allocations: 306.5 kB / 0.985 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7976, allocations: 0 / 0.985 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.7976, allocations: 8 kB / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7976, allocations: 0 / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.7976, allocations: 0 / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7976, allocations: 0 / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7976, allocations: 4 kB / 0.985 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.7978, allocations: 159.4 kB / 0.9851 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.7978, allocations: 85.06 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.7978, allocations: 4 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.7979, allocations: 384 / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.7979, allocations: 7.984 kB / 0.9852 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7979, allocations: 4 kB / 0.9852 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.798, allocations: 79.28 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.334e-06/0.798, allocations: 0 / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002747/0.7983, allocations: 39.92 kB / 0.9853 GB, free: 1.516 MB / 0.7325 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.0006705/0.799, allocations: 0.7682 MB / 0.9861 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.7991, allocations: 35.98 kB / 0.9861 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7991, allocations: 0 / 0.9861 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.7991, allocations: 19.98 kB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.7993, allocations: 5.234 kB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.7999, allocations: 413 kB / 0.9865 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.8001, allocations: 0.677 MB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.8002, allocations: 7.984 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.8002, allocations: 11.44 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.8002, allocations: 0 / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.812, allocations: 1.784 MB / 0.989 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.8122, allocations: 242 kB / 0.9892 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.626, allocations: 0 / 0.9892 GB, free: 13.58 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat