Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.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(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.001332/0.001332, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1827/0.1827, allocations: 16.77 MB / 307.2 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.91 kB / 371.8 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3022, allocations: 53.45 MB / 425.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003349/0.3056, allocations: 1.864 MB / 427.1 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.3087, allocations: 1.96 MB / 429 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/0.3092, allocations: 5.688 kB / 429 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.3098, allocations: 121.1 kB / 429.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.3103, allocations: 115.7 kB / 429.3 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3122, allocations: 0.918 MB / 430.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3134, allocations: 1.415 MB / 431.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.3136, allocations: 150.7 kB / 431.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.314, allocations: 0.5264 MB / 432.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.3143, allocations: 313.7 kB / 432.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.582e-05/0.3144, allocations: 73.31 kB / 432.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3151, allocations: 0.5161 MB / 433.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3152, allocations: 131.8 kB / 433.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.3155, allocations: 342.7 kB / 433.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3166, allocations: 1.048 MB / 434.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3166, allocations: 0 / 434.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3166, allocations: 0 / 434.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3166, allocations: 0 / 434.7 MB, free: 35.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001523/0.3182, allocations: 1.249 MB / 435.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3182, allocations: 14.55 kB / 435.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.3183, allocations: 108.5 kB / 436 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.3187, allocations: 90.91 kB / 436.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.3191, allocations: 411.6 kB / 436.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.3192, allocations: 74 kB / 436.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.3193, allocations: 69.64 kB / 436.7 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3207, allocations: 1.151 MB / 437.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3208, allocations: 4 kB / 437.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.3209, allocations: 33.55 kB / 437.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-05/0.3209, allocations: 55.19 kB / 437.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.322, allocations: 0.7542 MB / 438.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.3247, allocations: 3.035 MB / 441.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3258, allocations: 1.304 MB / 443 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.3267, allocations: 1.206 MB / 444.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.3268, allocations: 83.58 kB / 444.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.3278, allocations: 0.8233 MB / 445.1 MB, free: 28.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.515e-06/0.3278, allocations: 0 / 445.1 MB, free: 28.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.00278/0.3306, allocations: 2.277 MB / 447.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.3308, allocations: 0.6097 MB / 448 MB, free: 27.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.3311, allocations: 386.9 kB / 448.4 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.3312, allocations: 61.14 kB / 448.4 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3313, allocations: 251 kB / 448.7 MB, free: 26.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3315, allocations: 197.7 kB / 448.9 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.3317, allocations: 210.9 kB / 449.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.3318, allocations: 375 kB / 449.5 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.3322, allocations: 325.9 kB / 449.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.3328, allocations: 0.6928 MB / 450.5 MB, free: 25.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.3345, allocations: 2.121 MB / 452.6 MB, free: 23.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.3346, allocations: 3.062 kB / 452.6 MB, free: 23.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001629/0.3362, allocations: 1.548 MB / 454.1 MB, free: 22.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3363, allocations: 341.9 kB / 454.5 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3363, allocations: 12.06 kB / 454.5 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.3364, allocations: 23.59 kB / 454.5 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.3367, allocations: 118.2 kB / 454.6 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.3367, allocations: 28.14 kB / 454.6 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.3371, allocations: 115.1 kB / 454.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/0.3372, allocations: 52.06 kB / 454.8 MB, free: 22.31 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 121 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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 0.0008348/0.3381, allocations: 0.7316 MB / 455.5 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3382, allocations: 69.06 kB / 455.6 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.3405, allocations: 1.729 MB / 457.3 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3405, allocations: 6.125 kB / 457.3 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3405, allocations: 4 kB / 457.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3406, allocations: 3.281 kB / 457.4 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3439, allocations: 2.666 MB / 460 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.344, allocations: 1.031 kB / 460 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3441, allocations: 25.02 kB / 460 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3441, allocations: 6.062 kB / 460 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.3442, allocations: 37.52 kB / 460.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3442, allocations: 8.281 kB / 460.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3442, allocations: 0 / 460.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.3468, allocations: 2.138 MB / 462.2 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.3469, allocations: 125.7 kB / 462.4 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.3471, allocations: 69.59 kB / 462.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.3475, allocations: 56.06 kB / 462.5 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3476, allocations: 87.83 kB / 462.6 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.3477, allocations: 44 kB / 462.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3479, allocations: 229 kB / 462.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.348, allocations: 0 / 462.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001053/0.349, allocations: 324.9 kB / 463.1 MB, free: 18.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * 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.003828/0.3529, allocations: 2.946 MB / 466.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.3551, allocations: 1.895 MB / 468 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3552, allocations: 0 / 468 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.3569, allocations: 2.822 MB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.3576, allocations: 104 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008684/0.3663, allocations: 7.269 MB / 478.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3667, allocations: 0.9104 MB / 479.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.3671, allocations: 136.7 kB / 479.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3673, allocations: 176.6 kB / 479.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3673, allocations: 1.094 kB / 479.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.4025, allocations: 15.83 MB / 495.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.281, allocations: 17.94 kB / 495.2 MB, free: 13.01 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches