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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004641/0.004641, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001133/0.001133, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.736/2.736, allocations: 469.4 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3094, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002205/0.3116, allocations: 1.23 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.3125, allocations: 456.3 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.3126, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.3126, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.3127, allocations: 3.938 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.3132, allocations: 107.7 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.3133, allocations: 31.84 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.3134, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.3134, allocations: 7.984 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.3135, allocations: 11.94 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3135, allocations: 4 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3137, allocations: 103.8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.3138, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.3138, allocations: 19.91 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.314, allocations: 91.77 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.314, allocations: 7.938 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.877e-06/0.3141, allocations: 3.984 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3141, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 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.0005498/0.3146, allocations: 400.7 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3147, allocations: 8.031 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.3147, allocations: 30.75 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.3148, allocations: 4.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3149, allocations: 172.3 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3149, allocations: 8.375 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.315, allocations: 384 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3151, allocations: 46.23 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3151, allocations: 7.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3151, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3152, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.3152, allocations: 4 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3155, allocations: 249 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3157, allocations: 42.45 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3157, allocations: 20.94 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3157, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3159, allocations: 55.41 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3159, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002272/0.3161, allocations: 85.56 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3162, allocations: 51.41 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.3163, allocations: 105.8 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3163, allocations: 25.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.3163, allocations: 88.14 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3164, allocations: 7.891 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.3164, allocations: 29.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.3165, allocations: 310.8 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.3165, allocations: 15.98 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.3166, allocations: 31.44 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.3166, allocations: 55.34 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3167, allocations: 3.938 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.3168, allocations: 77.52 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3168, allocations: 9.719 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3168, allocations: 3.984 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3168, allocations: 7.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.3169, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3169, allocations: 4.156 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.317, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.317, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 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 8.634e-05/0.3171, allocations: 122.2 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.3171, allocations: 8.016 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.3171, allocations: 11.95 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3171, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3171, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3171, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3174, allocations: 307 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3174, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.3174, allocations: 4 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3174, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3175, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3175, allocations: 7.984 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3175, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.3176, allocations: 167.4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3177, allocations: 85.06 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3177, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.3177, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3178, allocations: 4 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3178, allocations: 3.984 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.3178, allocations: 87.28 kB / 1.224 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3178, allocations: 0 / 1.224 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000309/0.3181, allocations: 43.8 kB / 1.224 GB, free: 9.488 MB / 0.9825 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.0006694/0.3188, allocations: 0.7784 MB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.319, allocations: 31.98 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.319, allocations: 0 / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.319, allocations: 15.94 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3192, allocations: 7.984 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3204, allocations: 1.304 MB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3206, allocations: 0.6768 MB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.3207, allocations: 4 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3207, allocations: 7.438 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3207, allocations: 4 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.34, allocations: 2.085 MB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.968, allocations: 9.172 kB / 1.229 GB, free: 4.543 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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