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.01314/0.01314, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.003111/0.003111, allocations: 182.6 kB / 16.67 MB, free: 5.977 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.696/1.696, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.48/2.48, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 70.83 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2288, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001986/0.2308, allocations: 1.219 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.2316, allocations: 468.2 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2317, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.2317, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.2318, allocations: 3.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2323, allocations: 115.6 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.2323, allocations: 23.86 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.2324, allocations: 4 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.2324, allocations: 8 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.928e-05/0.2325, allocations: 11.92 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.2325, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.2327, allocations: 111.8 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.2327, allocations: 4 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.2327, allocations: 11.88 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2329, allocations: 100.1 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2329, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2329, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.233, allocations: 0 / 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.0004138/0.2334, allocations: 383.9 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2334, allocations: 8.031 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.2335, allocations: 34.75 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.2335, allocations: 4.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.2336, allocations: 176.8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2336, allocations: 384 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2337, allocations: 8.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2338, allocations: 38.25 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2338, allocations: 3.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2338, allocations: 4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2338, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.2338, allocations: 7.984 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2341, allocations: 248.9 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.2342, allocations: 46.44 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.2343, allocations: 12.86 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2343, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.2344, allocations: 59.48 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.485e-06/0.2344, allocations: 3.984 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.2346, allocations: 73.61 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2347, allocations: 63.41 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.2348, allocations: 106.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2348, allocations: 29.69 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.2348, allocations: 80.14 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2348, allocations: 11.91 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.2349, allocations: 17.72 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.235, allocations: 322.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.235, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.235, allocations: 47.47 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.2351, allocations: 51.31 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2351, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.413e-05/0.2352, allocations: 73.52 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2352, allocations: 8.062 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2352, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2353, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.2353, allocations: 12 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2353, allocations: 3.984 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.2354, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2354, allocations: 4.094 kB / 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 6.671e-05/0.2354, allocations: 117.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2355, allocations: 7.906 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.2355, allocations: 7.969 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2355, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2355, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2355, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2357, allocations: 306.4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2358, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.2358, allocations: 8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2358, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2358, allocations: 7.984 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2358, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2358, allocations: 7.984 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.236, allocations: 159.4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.236, allocations: 81.02 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.236, allocations: 11.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.2361, allocations: 128 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2361, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2361, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.2361, allocations: 91.27 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2362, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000267/0.2364, allocations: 31.94 kB / 1.092 GB, free: 12.8 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.0005854/0.237, allocations: 0.7681 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2371, allocations: 31.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2371, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.2372, allocations: 19.92 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2374, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.2383, allocations: 1.29 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2385, allocations: 0.6768 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.2385, allocations: 4 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.2386, allocations: 15.42 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2386, allocations: 0 / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9687/1.207, allocations: 2.085 MB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/9.323, allocations: 13.83 kB / 1.097 GB, free: 7.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,C,D,seed,time,x,y