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.007473/0.007473, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001718/0.001718, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8141, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002225/0.8164, allocations: 1.222 MB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.8173, allocations: 471.3 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.8173, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.8173, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.8174, allocations: 8.969 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.8179, allocations: 117.5 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.818, allocations: 16.92 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.8181, allocations: 3.484 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.8181, allocations: 13.44 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.8181, allocations: 5.953 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.8182, allocations: 1.969 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.8184, allocations: 106.3 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.8184, allocations: 6.906 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.8184, allocations: 16.41 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.8187, allocations: 95.08 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8187, allocations: 4.797 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8187, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.8187, allocations: 1.094 kB / 1.089 GB, free: 3.961 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.0004357/0.8191, allocations: 386.1 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8192, allocations: 10.47 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.8192, allocations: 32.19 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.8193, allocations: 3.781 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.8194, allocations: 175 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.8194, allocations: 3.219 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.8194, allocations: 6.531 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.8195, allocations: 42.89 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8195, allocations: 7.922 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8196, allocations: 1.219 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.8196, allocations: 0 / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.8196, allocations: 10.41 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.8199, allocations: 245.9 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.82, allocations: 40.19 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.8201, allocations: 15.25 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.8201, allocations: 0 / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.8202, allocations: 63.91 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.8202, allocations: 0 / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.8205, allocations: 73.23 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.8205, allocations: 57.05 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.8206, allocations: 113 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.8206, allocations: 26.7 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.8207, allocations: 81.89 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.8207, allocations: 11.7 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.8207, allocations: 21.17 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.8208, allocations: 317.9 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.8208, allocations: 6.375 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.8209, allocations: 47.33 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.8209, allocations: 47.11 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.8209, allocations: 8.875 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.8211, allocations: 77.2 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8211, allocations: 9.875 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8211, allocations: 1.062 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8211, allocations: 1.281 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.8212, allocations: 9.516 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8212, allocations: 1.609 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.8212, allocations: 9.438 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.8213, allocations: 3.812 kB / 1.091 GB, free: 2.051 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.81e-05/0.8213, allocations: 121 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.8214, allocations: 6.188 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.8214, allocations: 9.516 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8214, allocations: 1.344 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8214, allocations: 0.7969 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8214, allocations: 4.672 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.8217, allocations: 301.6 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8217, allocations: 1 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.8217, allocations: 3.516 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8218, allocations: 1.344 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.8218, allocations: 5.578 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8218, allocations: 8.625 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8218, allocations: 0 / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.8219, allocations: 158.5 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.822, allocations: 84 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.822, allocations: 4.703 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.822, allocations: 5 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.8221, allocations: 3.203 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8221, allocations: 1.906 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.8221, allocations: 90.89 kB / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8221, allocations: 0 / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003352/0.8225, allocations: 41.58 kB / 1.092 GB, free: 1.238 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.0006739/0.8231, allocations: 0.7693 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.8233, allocations: 32.52 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8233, allocations: 0 / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.8233, allocations: 15.44 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8235, allocations: 7.281 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8246, allocations: 1.277 MB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.8248, allocations: 0.6797 MB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.8249, allocations: 7.734 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.8249, allocations: 13.69 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8249, allocations: 0 / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.8447, allocations: 2.087 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.364, allocations: 12.23 kB / 1.097 GB, free: 14.1 MB / 0.8731 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