Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_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.001026/0.001026, allocations: 100.6 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.0009714/0.0009715, 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.589/1.589, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.823/2.823, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004627, allocations: 8 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8926, allocations: 146.8 MB / 0.9809 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001181/0.8938, allocations: 0.9489 MB / 0.9818 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.8946, allocations: 433.2 kB / 0.9822 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.8946, allocations: 0 / 0.9822 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.8947, allocations: 0 / 0.9822 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.8947, allocations: 3.984 kB / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.8951, allocations: 87.7 kB / 0.9823 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.8951, allocations: 8 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.8952, allocations: 7.984 kB / 0.9823 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.8952, allocations: 11.92 kB / 0.9823 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.8953, allocations: 11.94 kB / 0.9823 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.8953, allocations: 7.938 kB / 0.9823 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.8954, allocations: 75.91 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.8955, allocations: 4 kB / 0.9824 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.8955, allocations: 33.64 kB / 0.9824 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.8956, allocations: 59.91 kB / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.8956, allocations: 0 / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8956, allocations: 0 / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.8957, allocations: 0 / 0.9825 GB, free: 4.527 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.0003822/0.896, allocations: 388.9 kB / 0.9829 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8961, allocations: 8.031 kB / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.8961, allocations: 34.56 kB / 0.9829 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.8962, allocations: 7.906 kB / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.8963, allocations: 171 kB / 0.9831 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.8963, allocations: 4 kB / 0.9831 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.8963, allocations: 0 / 0.9831 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.8964, allocations: 45.64 kB / 0.9831 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.8964, allocations: 0 / 0.9831 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.8964, allocations: 0 / 0.9831 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8965, allocations: 4 kB / 0.9831 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.8965, allocations: 15.92 kB / 0.9831 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.8968, allocations: 245 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.8969, allocations: 34.56 kB / 0.9834 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.8969, allocations: 3.953 kB / 0.9834 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.8971, allocations: 63.44 kB / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.8971, allocations: 0 / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.8973, allocations: 77.58 kB / 0.9835 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.8973, allocations: 51.41 kB / 0.9836 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.8974, allocations: 109.8 kB / 0.9837 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.8974, allocations: 25.7 kB / 0.9837 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.8974, allocations: 88.14 kB / 0.9838 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.8975, allocations: 7.906 kB / 0.9838 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.8975, allocations: 4 kB / 0.9838 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8976, allocations: 318.8 kB / 0.9841 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.8976, allocations: 8 kB / 0.9841 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.8977, allocations: 35.36 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.8977, allocations: 16 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8977, allocations: 0 / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001001/0.8978, allocations: 81.47 kB / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8978, allocations: 4 kB / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.8978, allocations: 0 / 0.9843 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.8979, allocations: 4 kB / 0.9843 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.8979, allocations: 11.94 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.8979, allocations: 3.938 kB / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.898, allocations: 7.938 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.898, allocations: 0 / 0.9843 GB, free: 2.445 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 8.04e-05/0.8981, allocations: 121.9 kB / 0.9844 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.8981, allocations: 7.859 kB / 0.9844 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.8981, allocations: 12.05 kB / 0.9844 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8981, allocations: 0 / 0.9844 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8982, allocations: 0 / 0.9844 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8982, allocations: 0 / 0.9844 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.8984, allocations: 302.6 kB / 0.9847 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8984, allocations: 3.953 kB / 0.9847 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.8984, allocations: 8.562 kB / 0.9847 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8984, allocations: 0 / 0.9847 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8985, allocations: 0 / 0.9847 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8985, allocations: 4 kB / 0.9847 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8985, allocations: 7.984 kB / 0.9847 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.8986, allocations: 155.5 kB / 0.9849 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.8987, allocations: 84.97 kB / 0.985 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.8987, allocations: 0 / 0.985 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.8987, allocations: 7.984 kB / 0.985 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.8988, allocations: 7.938 kB / 0.985 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.8988, allocations: 0 / 0.985 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.8988, allocations: 83.28 kB / 0.9851 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8988, allocations: 3.938 kB / 0.9851 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002875/0.8991, allocations: 39.98 kB / 0.9851 GB, free: 1.512 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.00062/0.8998, allocations: 0.7704 MB / 0.9859 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.8999, allocations: 35.92 kB / 0.9859 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8999, allocations: 3.938 kB / 0.9859 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.8999, allocations: 16.3 kB / 0.9859 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.9001, allocations: 0 / 0.9859 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.9007, allocations: 0.8094 MB / 0.9867 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.9009, allocations: 0.6809 MB / 0.9874 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.9009, allocations: 4 kB / 0.9874 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.901, allocations: 15.42 kB / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.901, allocations: 0 / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.9124, allocations: 1.828 MB / 0.9892 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.9127, allocations: 238.3 kB / 0.9894 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.714, allocations: 0 / 0.9894 GB, free: 13.14 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat does not exist to compare? outputFormat=mat