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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008234/0.008234, allocations: 101.5 kB / 15.73 MB, free: 6.059 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.002085/0.002085, allocations: 194.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 62.09 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.252, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002212/0.2542, allocations: 1.237 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000987/0.2552, allocations: 464.2 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.2553, allocations: 3.938 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2553, allocations: 0 / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.2554, allocations: 3.938 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.256, allocations: 111.6 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.256, allocations: 19.92 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.2561, allocations: 12 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.2561, allocations: 4 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.2561, allocations: 11.92 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2562, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.2564, allocations: 103.8 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2564, allocations: 7.922 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.2565, allocations: 15.92 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2567, allocations: 99.95 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2567, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2567, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2567, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 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.0004539/0.2572, allocations: 384.9 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2572, allocations: 8.031 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.2573, allocations: 38.75 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2573, allocations: 4.891 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2574, allocations: 172.3 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2575, allocations: 384 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2575, allocations: 8.312 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2576, allocations: 38.25 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2576, allocations: 7.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2576, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2577, allocations: 7.984 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.2577, allocations: 7.984 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.258, allocations: 248.9 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.2581, allocations: 38.44 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.2582, allocations: 20.86 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2582, allocations: 4 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.2584, allocations: 55.48 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.2584, allocations: 0 / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002322/0.2586, allocations: 77.58 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2587, allocations: 59.39 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.2587, allocations: 105.9 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2588, allocations: 29.64 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.2588, allocations: 88.12 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2588, allocations: 11.91 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.2589, allocations: 17.72 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.259, allocations: 318.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.259, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.259, allocations: 39.92 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.2591, allocations: 43.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2591, allocations: 7.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/0.2592, allocations: 73.61 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2593, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2593, allocations: 8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2593, allocations: 4.062 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.2594, allocations: 11.94 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2594, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.2594, allocations: 11.94 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2594, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.2595, allocations: 117.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.2595, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.2595, allocations: 3.969 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2595, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2596, allocations: 7.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2596, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.2598, allocations: 314.4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2598, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.2599, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2599, allocations: 96 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2599, allocations: 7.969 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2599, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2599, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.2601, allocations: 171.4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2601, allocations: 77.11 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2601, allocations: 3.984 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.2602, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.2602, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.2602, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.2603, allocations: 95.33 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2603, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002918/0.2606, allocations: 35.88 kB / 1.092 GB, free: 12.79 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006567/0.2612, allocations: 0.7604 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.2614, allocations: 39.92 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2614, allocations: 3.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.2614, allocations: 19.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2616, allocations: 5.719 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2627, allocations: 1.285 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.2629, allocations: 0.6807 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.263, allocations: 0 / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.263, allocations: 19.42 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.263, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2812, allocations: 2.085 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.936, allocations: 15.61 kB / 1.097 GB, free: 7.844 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y