Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.004856/0.004856, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001365/0.001365, allocations: 198.6 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.333/1.333, 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 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3211, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004368/0.3255, allocations: 2.44 MB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.3281, allocations: 1.575 MB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3283, allocations: 4 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.329, allocations: 175.2 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.3294, allocations: 155.3 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.3299, allocations: 183.5 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3301, allocations: 219.3 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.3304, allocations: 121 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3306, allocations: 91.67 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3308, allocations: 95.66 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.3309, allocations: 12 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3312, allocations: 211.6 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.3313, allocations: 71.73 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.3314, allocations: 79.61 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3318, allocations: 303.2 kB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007071/0.3325, allocations: 498.5 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3326, allocations: 8.031 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.3327, allocations: 46.73 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.3338, allocations: 92.73 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3342, allocations: 232 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3342, allocations: 8.656 kB / 1.173 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.3343, allocations: 12.38 kB / 1.173 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.335, allocations: 295.4 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.335, allocations: 0 / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.335, allocations: 8 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.3351, allocations: 20.22 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.3356, allocations: 220.4 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.3378, allocations: 1.603 MB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.3382, allocations: 315.3 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3384, allocations: 69.61 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3384, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3384, allocations: 34.56 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.3384, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006971/0.3391, allocations: 248.9 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.3392, allocations: 81.3 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3395, allocations: 211.3 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3395, allocations: 25.7 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3396, allocations: 160.1 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3397, allocations: 39.69 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3398, allocations: 53.64 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3399, allocations: 322.8 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.3401, allocations: 80.81 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3404, allocations: 155.1 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.3408, allocations: 238.9 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3408, allocations: 0 / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005631/0.3413, allocations: 281.3 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3414, allocations: 4 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3414, allocations: 11.98 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3414, allocations: 7.938 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.3417, allocations: 60.2 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3418, allocations: 8 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.342, allocations: 23.97 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3421, allocations: 12 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002327/0.3423, allocations: 174.4 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002121/0.3425, allocations: 151.4 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003237/0.3429, allocations: 219.8 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.3429, allocations: 4 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004878/0.3434, allocations: 257.3 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3434, allocations: 8 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.3434, allocations: 0 / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.3434, allocations: 8 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.3436, allocations: 51.84 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3436, allocations: 11.92 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.3439, allocations: 20.23 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3439, allocations: 12 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.0001178/0.344, allocations: 196.1 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3441, allocations: 15.91 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3443, allocations: 150.9 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3443, allocations: 0 / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3444, allocations: 0 / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3444, allocations: 4 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.3453, allocations: 0.7161 MB / 1.179 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3453, allocations: 8.031 kB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3455, allocations: 27.92 kB / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3455, allocations: 0 / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3455, allocations: 4 kB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3455, allocations: 4 kB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.3455, allocations: 11.92 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3458, allocations: 382.2 kB / 1.179 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3459, allocations: 112.9 kB / 1.179 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.346, allocations: 7.984 kB / 1.179 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3462, allocations: 8 kB / 1.179 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.3462, allocations: 15.92 kB / 1.179 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3462, allocations: 4 kB / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001721/0.3464, allocations: 160.8 kB / 1.18 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3464, allocations: 4 kB / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005208/0.3469, allocations: 68 kB / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0006172/0.3475, allocations: 0.9182 MB / 1.181 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.3481, allocations: 281 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3481, allocations: 3.938 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.3482, allocations: 60.41 kB / 1.181 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3487, allocations: 34.78 kB / 1.181 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.3514, allocations: 2.375 MB / 1.183 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3517, allocations: 0.7363 MB / 1.184 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.352, allocations: 85.44 kB / 1.184 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.3521, allocations: 47.42 kB / 1.184 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.3521, allocations: 0 / 1.184 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3741, allocations: 3.692 MB / 1.188 GB, free: 344 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.053, allocations: 10.08 kB / 1.188 GB, free: 340 kB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches